ILIAS  release_8 Revision v8.23
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.

References $comment.

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

◆ testSetters()

ilSkinStyleLessCommentTest::testSetters ( )

Definition at line 33 of file ilSkinStyleLessCommentTest.php.

References $comment.

33  : void
34  {
35  $comment = new ilSystemStyleLessComment('comment');
36 
37  $comment->setComment('newComment');
38  $this->assertEquals('newComment', $comment->getComment());
39  }
$comment
Definition: buildRTE.php:72
Capsules all data which is neither part of a variable or category structure in the less file...

◆ testToString()

ilSkinStyleLessCommentTest::testToString ( )

Definition at line 41 of file ilSkinStyleLessCommentTest.php.

References $comment.

41  : void
42  {
43  $comment = new ilSystemStyleLessComment('comment');
44 
45  $this->assertEquals("comment\n", (string) $comment);
46  }
$comment
Definition: buildRTE.php:72
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: