ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 12 of file ilSkinStyleLessCommentTest.php.

13 {
14 $comment = new ilSystemStyleLessComment("comment");
15 $this->assertEquals("comment", $comment->getComment());
16 }
$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 18 of file ilSkinStyleLessCommentTest.php.

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

References $comment.

◆ testToString()

ilSkinStyleLessCommentTest::testToString ( )

Definition at line 26 of file ilSkinStyleLessCommentTest.php.

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

References $comment.


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