Protected Member Functions |
| setUp () |
Detailed Description
Definition at line 24 of file ilSettingTest.php.
Member Function Documentation
Definition at line 28 of file ilSettingTest.php.
{
include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
ilUnitUtil::performInitialisation();
}
ilSettingTest::testDeletion |
( |
| ) |
|
IL_Init
Definition at line 49 of file ilSettingTest.php.
{
$set->set("foo", "bar");
$set->set("foo2", "bar2");
$set->deleteAll();
$value = $set->get("foo", false, true)."-";
$value.= $set->get("foo2");
$this->assertEquals("-bar2", $value);
}
ilSettingTest::testLikeDeletion |
( |
| ) |
|
IL_Init
Definition at line 70 of file ilSettingTest.php.
{
$set->set("foo", "plus");
$set->set("fooplus", "bar");
$set->set("barplus", "foo");
$set->deleteLike("foo%");
$value = $set->get("foo")."-".
$set->get("fooplus")."-".
$set->get("barplus");
$this->assertEquals("--foo", $value);
}
ilSettingTest::testSetGetSettings |
( |
| ) |
|
IL_Init
Definition at line 37 of file ilSettingTest.php.
{
$set->set("foo", "bar");
$value = $set->get("foo");
$this->assertEquals("bar", $value);
}
Field Documentation
ilSettingTest::$backupGlobals = FALSE |
|
protected |
The documentation for this class was generated from the following file: