Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/tests/main/newscorm/openoffice_text_document.cl...

47 lines
1.3 KiB

<?php
//require_once(api_get_path(SYS_CODE_PATH).'newscorm/openoffice_text_document.class.php');
class TestOpenOfficeTextDocument extends UnitTestCase {
/*
public function testMakeLp() {
//ob_start();
$obj = new OpenofficeTextDocument($split_steps=false, $course_code=null, $resource_id=null,$user_id=null);
$res = $obj->make_lp($files=array());
$this->assertTrue(is_bool($res));
//ob_end_clean();
//var_dump($res);
}
public function testDealPerChapter() {
//ob_start();
$res = OpenOfficeTextDocument::dealPerChapter($header = 'Header', $content = 'Content');
$this->assertTrue(is_null($res));
//ob_end_clean();
//var_dump($res);
}
public function testDealPerPage() {
//ob_start();
$res = OpenOfficeTextDocument::dealPerPage($header = 'Header',$body = 'Content');
$this->assertTrue(is_null($res));
//ob_end_clean();
//var_dump($res);
}
public function testAddCommandParameters() {
//ob_start();
$res = OpenOfficeTextDocument::add_command_parameters();
$this->assertTrue(is_string($res));
//ob_end_clean();
//var_dump($res);
}
public function testFormatPageContent() {
//ob_start();
$res = OpenOfficeTextDocument::format_page_content($header = 'Header', $content = 'Content');
$this->assertTrue(is_string($res));
//ob_end_clean();
//var_dump($res);
} */
}
?>