1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- //require_once(api_get_path(SYS_CODE_PATH).'newscorm/openoffice_presentation.class.php');
- class TestOpenofficePresentation extends UnitTestCase {
- /*
- public function testAddItem() {
- //ob_start();
- $res = OpenofficePresentation::make_lp($files=array());
- $this->assertTrue(is_numeric($res));
- //ob_end_clean();
- //var_dump($res);
- }
-
- public function testAddCommandParameters() {
- //ob_start();
- $res = OpenofficePresentation::add_command_parameters();
- $this->assertTrue(is_numeric($res));
- //ob_end_clean();
- //var_dump($res);
- }
-
- public function testSetSlideSize() {
- //ob_start();
- $res = OpenofficePresentation::set_slide_size($width = '400',$height = '500');
- $this->assertTrue(is_numeric($res));
- //ob_end_clean();
- //var_dump($res);
- }
-
- public function testAddDocsToVisio() {
- //ob_start();
- $res = OpenofficePresentation::add_docs_to_visio($files=array());
- $this->assertTrue(is_numeric($res));
- //ob_end_clean();
- //var_dump($res);
- }*/
- }
- ?>
|