ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSystemStyleLessCommentTest Class Reference
+ Inheritance diagram for ilSystemStyleLessCommentTest:
+ Collaboration diagram for ilSystemStyleLessCommentTest:

Public Member Functions

 testConstruct ()
 
 testSetters ()
 
 testToString ()
 

Detailed Description

Member Function Documentation

◆ testConstruct()

ilSystemStyleLessCommentTest::testConstruct ( )

Definition at line 12 of file ilSystemStyleLessCommentTest.php.

References $comment.

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

◆ testSetters()

ilSystemStyleLessCommentTest::testSetters ( )

Definition at line 17 of file ilSystemStyleLessCommentTest.php.

References $comment.

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

◆ testToString()

ilSystemStyleLessCommentTest::testToString ( )

Definition at line 24 of file ilSystemStyleLessCommentTest.php.

References $comment.

24  {
25  $comment = new ilSystemStyleLessComment("comment");
26 
27  $this->assertEquals("comment\n",(string)$comment);
28  }
$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: