ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilSkinStyleLessCommentTest Class Reference
+ Inheritance diagram for ilSkinStyleLessCommentTest:
+ Collaboration diagram for ilSkinStyleLessCommentTest:

Public Member Functions

 testConstruct ()
 
 testSetters ()
 
 testToString ()
 

Detailed Description

Member Function Documentation

◆ testConstruct()

ilSkinStyleLessCommentTest::testConstruct ( )

Definition at line 14 of file ilSkinStyleLessCommentTest.php.

15 {
16 $comment = new ilSystemStyleLessComment("comment");
17 $this->assertEquals("comment", $comment->getComment());
18 }
$comment
Definition: buildRTE.php:83
Capsules all data which is neither part of a variable or category structure in the less file.

References $comment.

◆ testSetters()

ilSkinStyleLessCommentTest::testSetters ( )

Definition at line 20 of file ilSkinStyleLessCommentTest.php.

21 {
22 $comment = new ilSystemStyleLessComment("name", "comment");
23
24 $comment->setComment("newComment");
25 $this->assertEquals("newComment", $comment->getComment());
26 }

References $comment.

◆ testToString()

ilSkinStyleLessCommentTest::testToString ( )

Definition at line 28 of file ilSkinStyleLessCommentTest.php.

29 {
30 $comment = new ilSystemStyleLessComment("comment");
31
32 $this->assertEquals("comment\n", (string) $comment);
33 }

References $comment.


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