ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 14 of file ilSkinStyleLessCommentTest.php.

References $comment.

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

References $comment.

21  {
22  $comment = new ilSystemStyleLessComment("name", "comment");
23 
24  $comment->setComment("newComment");
25  $this->assertEquals("newComment", $comment->getComment());
26  }
$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 28 of file ilSkinStyleLessCommentTest.php.

References $comment.

29  {
30  $comment = new ilSystemStyleLessComment("comment");
31 
32  $this->assertEquals("comment\n", (string) $comment);
33  }
$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: