ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
ilSkinStyleLessCommentTest Class Reference
+ Inheritance diagram for ilSkinStyleLessCommentTest:
+ Collaboration diagram for ilSkinStyleLessCommentTest:

Public Member Functions

 testConstruct ()
 
 testSetters ()
 
 testToString ()
 

Detailed Description

Definition at line 25 of file ilSkinStyleLessCommentTest.php.

Member Function Documentation

◆ testConstruct()

ilSkinStyleLessCommentTest::testConstruct ( )

Definition at line 27 of file ilSkinStyleLessCommentTest.php.

27 : void
28 {
29 $comment = new ilSystemStyleLessComment('comment');
30 $this->assertEquals('comment', $comment->getComment());
31 }
$comment
Definition: buildRTE.php:72
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 33 of file ilSkinStyleLessCommentTest.php.

33 : void
34 {
35 $comment = new ilSystemStyleLessComment('comment');
36
37 $comment->setComment('newComment');
38 $this->assertEquals('newComment', $comment->getComment());
39 }

References $comment.

◆ testToString()

ilSkinStyleLessCommentTest::testToString ( )

Definition at line 41 of file ilSkinStyleLessCommentTest.php.

41 : void
42 {
43 $comment = new ilSystemStyleLessComment('comment');
44
45 $this->assertEquals("comment\n", (string) $comment);
46 }

References $comment.


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