Protected Member Functions |
| setUp () |
Detailed Description
Definition at line 24 of file ilXHTMLPageTest.php.
Member Function Documentation
ilXHTMLPageTest::setUp |
( |
| ) |
|
|
protected |
ilXHTMLPageTest::testSetGetSettings |
( |
| ) |
|
Definition at line 34 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: