openoffice_presentation.class.test.php 994 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. //require_once(api_get_path(SYS_CODE_PATH).'newscorm/openoffice_presentation.class.php');
  3. class TestOpenofficePresentation extends UnitTestCase {
  4. /*
  5. public function testAddItem() {
  6. //ob_start();
  7. $res = OpenofficePresentation::make_lp($files=array());
  8. $this->assertTrue(is_numeric($res));
  9. //ob_end_clean();
  10. //var_dump($res);
  11. }
  12. public function testAddCommandParameters() {
  13. //ob_start();
  14. $res = OpenofficePresentation::add_command_parameters();
  15. $this->assertTrue(is_numeric($res));
  16. //ob_end_clean();
  17. //var_dump($res);
  18. }
  19. public function testSetSlideSize() {
  20. //ob_start();
  21. $res = OpenofficePresentation::set_slide_size($width = '400',$height = '500');
  22. $this->assertTrue(is_numeric($res));
  23. //ob_end_clean();
  24. //var_dump($res);
  25. }
  26. public function testAddDocsToVisio() {
  27. //ob_start();
  28. $res = OpenofficePresentation::add_docs_to_visio($files=array());
  29. $this->assertTrue(is_numeric($res));
  30. //ob_end_clean();
  31. //var_dump($res);
  32. }*/
  33. }
  34. ?>