◆ testConstruct()
ilSkinStyleLessVariableTest::testConstruct |
( |
| ) |
|
Definition at line 14 of file ilSkinStyleLessVariableTest.php.
17 $this->assertEquals(
"name", $variable->getName());
18 $this->assertEquals(
"value", $variable->getValue());
19 $this->assertEquals(
"comment", $variable->getComment());
20 $this->assertEquals(
"category_name", $variable->getCategoryName());
21 $this->assertEquals([
"references_id"], $variable->getReferences());
◆ testIconFontPathQuotation()
ilSkinStyleLessVariableTest::testIconFontPathQuotation |
( |
| ) |
|
Definition at line 49 of file ilSkinStyleLessVariableTest.php.
53 $variable->setValue(
"\"somePath\"");
54 $this->assertEquals(
"\"somePath\"", $variable->getValue());
56 $variable->setValue(
"somePath");
57 $this->assertEquals(
"\"somePath\"", $variable->getValue());
60 $variable->setValue(
"\"somePath");
61 $this->assertEquals(
"\"somePath\"", $variable->getValue());
64 $variable->setValue(
"somePath\"");
65 $this->assertEquals(
"\"somePath\"", $variable->getValue());
◆ testIconFontPathUpdate()
ilSkinStyleLessVariableTest::testIconFontPathUpdate |
( |
| ) |
|
Definition at line 41 of file ilSkinStyleLessVariableTest.php.
45 $variable->setValue(
"\"../../node_modules/bootstrap/fonts/\"");
46 $this->assertEquals(
"\"../../../../node_modules/bootstrap/fonts/\"", $variable->getValue());
◆ testSetters()
ilSkinStyleLessVariableTest::testSetters |
( |
| ) |
|
Definition at line 24 of file ilSkinStyleLessVariableTest.php.
28 $variable->setName(
"newName");
29 $variable->setValue(
"newValue");
30 $variable->setComment(
"newComment");
31 $variable->setCategoryName(
"new_category_name");
32 $variable->setReferences([
"new_references_id"]);
34 $this->assertEquals(
"newName", $variable->getName());
35 $this->assertEquals(
"newValue", $variable->getValue());
36 $this->assertEquals(
"newComment", $variable->getComment());
37 $this->assertEquals(
"new_category_name", $variable->getCategoryName());
38 $this->assertEquals([
"new_references_id"], $variable->getReferences());
◆ testToString()
ilSkinStyleLessVariableTest::testToString |
( |
| ) |
|
The documentation for this class was generated from the following file: