◆ testConstruct()
ilSystemStyleLessVariableTest::testConstruct |
( |
| ) |
|
Definition at line 12 of file ilSystemStyleLessVariableTest.php.
14 $this->assertEquals(
"name", $variable->getName());
15 $this->assertEquals(
"value", $variable->getValue());
16 $this->assertEquals(
"comment", $variable->getComment());
17 $this->assertEquals(
"category_name", $variable->getCategoryName());
18 $this->assertEquals([
"references_id"], $variable->getReferences());
◆ testNastyHack()
ilSystemStyleLessVariableTest::testNastyHack |
( |
| ) |
|
Definition at line 37 of file ilSystemStyleLessVariableTest.php.
40 $variable->setValue(
"\"../../Services/UICore/lib/bootstrap-3.2.0/fonts/\"");
41 $this->assertEquals(
"\"../../../../Services/UICore/lib/bootstrap-3.2.0/fonts/\"", $variable->getValue());
◆ testSetters()
ilSystemStyleLessVariableTest::testSetters |
( |
| ) |
|
Definition at line 21 of file ilSystemStyleLessVariableTest.php.
24 $variable->setName(
"newName");
25 $variable->setValue(
"newValue");
26 $variable->setComment(
"newComment");
27 $variable->setCategoryName(
"new_category_name");
28 $variable->setReferences([
"new_references_id"]);
30 $this->assertEquals(
"newName", $variable->getName());
31 $this->assertEquals(
"newValue", $variable->getValue());
32 $this->assertEquals(
"newComment", $variable->getComment());
33 $this->assertEquals(
"new_category_name", $variable->getCategoryName());
34 $this->assertEquals([
"new_references_id"], $variable->getReferences());
◆ testToString()
ilSystemStyleLessVariableTest::testToString |
( |
| ) |
|
The documentation for this class was generated from the following file: