Class ilSettingTest needsInstalledILIAS.
More...
Class ilSettingTest needsInstalledILIAS.
Definition at line 28 of file ilSettingTest.php.
◆ setUp()
Definition at line 32 of file ilSettingTest.php.
34 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
35 ilUnitUtil::performInitialisation();
◆ testDeletion()
ilSettingTest::testDeletion |
( |
| ) |
|
IL_Init
Definition at line 53 of file ilSettingTest.php.
57 $set->set(
"foo",
"bar");
59 $set->set(
"foo2",
"bar2");
63 $value = $set->get(
"foo",
false,
true) .
"-";
66 $value .= $set->get(
"foo2");
68 $this->assertEquals(
"-bar2", $value);
◆ testLikeDeletion()
ilSettingTest::testLikeDeletion |
( |
| ) |
|
IL_Init
Definition at line 74 of file ilSettingTest.php.
77 $set->set(
"foo",
"plus");
78 $set->set(
"fooplus",
"bar");
79 $set->set(
"barplus",
"foo");
80 $set->deleteLike(
"foo%");
82 $value = $set->get(
"foo") .
"-" .
83 $set->get(
"fooplus") .
"-" .
86 $this->assertEquals(
"--foo", $value);
◆ testSetGetSettings()
ilSettingTest::testSetGetSettings |
( |
| ) |
|
IL_Init
Definition at line 41 of file ilSettingTest.php.
44 $set->set(
"foo",
"bar");
45 $value = $set->get(
"foo");
47 $this->assertEquals(
"bar", $value);
◆ $backupGlobals
ilSettingTest::$backupGlobals = false |
|
protected |
The documentation for this class was generated from the following file: