ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.

References $comment.

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...

◆ testSetters()

ilSkinStyleLessCommentTest::testSetters ( )

Definition at line 18 of file ilSkinStyleLessCommentTest.php.

References $comment.

19  {
20  $comment = new ilSystemStyleLessComment("name", "comment");
21 
22  $comment->setComment("newComment");
23  $this->assertEquals("newComment", $comment->getComment());
24  }
$comment
Definition: buildRTE.php:83
Capsules all data which is neither part of a variable or category structure in the less file...

◆ testToString()

ilSkinStyleLessCommentTest::testToString ( )

Definition at line 26 of file ilSkinStyleLessCommentTest.php.

References $comment.

27  {
28  $comment = new ilSystemStyleLessComment("comment");
29 
30  $this->assertEquals("comment\n", (string) $comment);
31  }
$comment
Definition: buildRTE.php:83
Capsules all data which is neither part of a variable or category structure in the less file...

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