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 |
( |
| ) |
|
Definition at line 43 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 |
( |
| ) |
|
Definition at line 61 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 |
( |
| ) |
|
Definition at line 34 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: