◆ testConstruct()
ilSkinStyleLessVariableTest::testConstruct |
( |
| ) |
|
Definition at line 12 of file ilSkinStyleLessVariableTest.php.
15 $this->assertEquals(
"name", $variable->getName());
16 $this->assertEquals(
"value", $variable->getValue());
17 $this->assertEquals(
"comment", $variable->getComment());
18 $this->assertEquals(
"category_name", $variable->getCategoryName());
19 $this->assertEquals([
"references_id"], $variable->getReferences());
◆ testIconFontPathQuotation()
ilSkinStyleLessVariableTest::testIconFontPathQuotation |
( |
| ) |
|
Definition at line 47 of file ilSkinStyleLessVariableTest.php.
51 $variable->setValue(
"\"somePath\"");
52 $this->assertEquals(
"\"somePath\"", $variable->getValue());
54 $variable->setValue(
"somePath");
55 $this->assertEquals(
"\"somePath\"", $variable->getValue());
58 $variable->setValue(
"\"somePath");
59 $this->assertEquals(
"\"somePath\"", $variable->getValue());
62 $variable->setValue(
"somePath\"");
63 $this->assertEquals(
"\"somePath\"", $variable->getValue());
◆ testIconFontPathUpdate()
ilSkinStyleLessVariableTest::testIconFontPathUpdate |
( |
| ) |
|
Definition at line 39 of file ilSkinStyleLessVariableTest.php.
43 $variable->setValue(
"\"../../libs/bower/bower_components/bootstrap/fonts/\"");
44 $this->assertEquals(
"\"../../../../libs/bower/bower_components/bootstrap/fonts/\"", $variable->getValue());
◆ testSetters()
ilSkinStyleLessVariableTest::testSetters |
( |
| ) |
|
Definition at line 22 of file ilSkinStyleLessVariableTest.php.
26 $variable->setName(
"newName");
27 $variable->setValue(
"newValue");
28 $variable->setComment(
"newComment");
29 $variable->setCategoryName(
"new_category_name");
30 $variable->setReferences([
"new_references_id"]);
32 $this->assertEquals(
"newName", $variable->getName());
33 $this->assertEquals(
"newValue", $variable->getValue());
34 $this->assertEquals(
"newComment", $variable->getComment());
35 $this->assertEquals(
"new_category_name", $variable->getCategoryName());
36 $this->assertEquals([
"new_references_id"], $variable->getReferences());
◆ testToString()
ilSkinStyleLessVariableTest::testToString |
( |
| ) |
|
The documentation for this class was generated from the following file: