Protected Member Functions |
| setUp () |
Detailed Description
Definition at line 24 of file ilXHTMLPageTest.php.
Member Function Documentation
ilXHTMLPageTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 28 of file ilXHTMLPageTest.php.
{
include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
ilUnitUtil::performInitialisation();
}
ilXHTMLPageTest::testSetGetSettings |
( |
| ) |
|
IL_Init
Definition at line 37 of file ilXHTMLPageTest.php.
References $result, ilXHTMLPage\_lookupContent(), and ilXHTMLPage\_lookupSavedContent().
{
include_once("./Services/XHTMLPage/classes/class.ilXHTMLPage.php");
$page->setContent("aaa");
$page->save();
$page_id = $page->getId();
if ($page->getContent() == "aaa")
{
}
$page->setContent("bbb");
$page->save();
{
}
{
}
$page->undo();
{
}
{
}
$page->clear();
{
}
{
}
$this->assertEquals(
"saveread-lookupContent-lookupSavedContent-undo1-undo2-clear1-clear2-",
$result);
}
Field Documentation
ilXHTMLPageTest::$backupGlobals = FALSE |
|
protected |
The documentation for this class was generated from the following file: