ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSystemStyleSkinStyleLessCategoryTest Class Reference
+ Inheritance diagram for ilSystemStyleSkinStyleLessCategoryTest:
+ Collaboration diagram for ilSystemStyleSkinStyleLessCategoryTest:

Public Member Functions

 testConstruct ()
 
 testSetters ()
 
 testToString ()
 

Detailed Description

Definition at line 25 of file ilSystemStyleSkinStyleLessCategoryTest.php.

Member Function Documentation

◆ testConstruct()

ilSystemStyleSkinStyleLessCategoryTest::testConstruct ( )

Definition at line 27 of file ilSystemStyleSkinStyleLessCategoryTest.php.

27  : void
28  {
29  $category = new ilSystemStyleLessCategory('name', 'comment');
30  $this->assertEquals('name', $category->getName());
31  $this->assertEquals('comment', $category->getComment());
32  }
Capsules data of a less category in the variables to less file.

◆ testSetters()

ilSystemStyleSkinStyleLessCategoryTest::testSetters ( )

Definition at line 34 of file ilSystemStyleSkinStyleLessCategoryTest.php.

34  : void
35  {
36  $category = new ilSystemStyleLessCategory('name', 'comment');
37 
38  $category->setName('newName');
39  $category->setComment('newComment');
40 
41  $this->assertEquals('newName', $category->getName());
42  $this->assertEquals('newComment', $category->getComment());
43  }
Capsules data of a less category in the variables to less file.

◆ testToString()

ilSystemStyleSkinStyleLessCategoryTest::testToString ( )

Definition at line 45 of file ilSystemStyleSkinStyleLessCategoryTest.php.

45  : void
46  {
47  $category = new ilSystemStyleLessCategory('name', 'comment');
48 
49  $this->assertEquals("//== name\n//\n//## comment\n", (string) $category);
50  }
Capsules data of a less category in the variables to less file.

The documentation for this class was generated from the following file: