◆ testConstruct()
ilSkinStyleLessVariableTest::testConstruct |
( |
| ) |
|
Definition at line 27 of file ilSkinStyleLessVariableTest.php.
30 $this->assertEquals(
'name', $variable->getName());
31 $this->assertEquals(
'value', $variable->getValue());
32 $this->assertEquals(
'comment', $variable->getComment());
33 $this->assertEquals(
'category_name', $variable->getCategoryName());
34 $this->assertEquals([
'references_id'], $variable->getReferences());
◆ testIconFontPathQuotation()
ilSkinStyleLessVariableTest::testIconFontPathQuotation |
( |
| ) |
|
Definition at line 62 of file ilSkinStyleLessVariableTest.php.
66 $variable->setValue(
"\"somePath\"");
67 $this->assertEquals(
"\"somePath\"", $variable->getValue());
69 $variable->setValue(
'somePath');
70 $this->assertEquals(
"\"somePath\"", $variable->getValue());
73 $variable->setValue(
"\"somePath");
74 $this->assertEquals(
"\"somePath\"", $variable->getValue());
77 $variable->setValue(
"somePath\"");
78 $this->assertEquals(
"\"somePath\"", $variable->getValue());
◆ testIconFontPathUpdate()
ilSkinStyleLessVariableTest::testIconFontPathUpdate |
( |
| ) |
|
Definition at line 54 of file ilSkinStyleLessVariableTest.php.
58 $variable->setValue(
"\"../../node_modules/bootstrap/fonts/\"");
59 $this->assertEquals(
"\"../../../../node_modules/bootstrap/fonts/\"", $variable->getValue());
◆ testSetters()
ilSkinStyleLessVariableTest::testSetters |
( |
| ) |
|
Definition at line 37 of file ilSkinStyleLessVariableTest.php.
41 $variable->setName(
'newName');
42 $variable->setValue(
'newValue');
43 $variable->setComment(
'newComment');
44 $variable->setCategoryName(
'new_category_name');
45 $variable->setReferences([
'new_references_id']);
47 $this->assertEquals(
'newName', $variable->getName());
48 $this->assertEquals(
'newValue', $variable->getValue());
49 $this->assertEquals(
'newComment', $variable->getComment());
50 $this->assertEquals(
'new_category_name', $variable->getCategoryName());
51 $this->assertEquals([
'new_references_id'], $variable->getReferences());
◆ testToString()
ilSkinStyleLessVariableTest::testToString |
( |
| ) |
|
The documentation for this class was generated from the following file: