You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
988 B
38 lines
988 B
<?php
|
|
//require_once(api_get_path(SYS_CODE_PATH).'lp/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);
|
|
}*/
|
|
}
|
|
?>
|
|
|