1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- require_once(api_get_path(SYS_CODE_PATH).'newscorm/learnpath.class.php');
- require_once(api_get_path(SYS_CODE_PATH).'newscorm/openoffice_text.class.php');
- require_once(api_get_path(LIBRARY_PATH).'fileUpload.lib.php');
- class TestOpenOfficeTextClass extends UnitTestCase {
- public function testOpenOfficeText() {
-
- $res = OpenofficeText::make_lp($files=array());
- $this->assertTrue(is_bool($res));
-
-
- }
- public function testAddCommandParameters() {
-
- $res = OpenofficeText::add_command_parameters();
- $this->assertTrue(is_string($res));
-
-
- }
- public function testFormatPageContent() {
-
- $res = OpenofficeText::format_page_content($header = 'Header', $content = 'Content');
- $this->assertTrue(is_string($res));
-
-
- }
- }
- ?>
|