ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSystemStyleLessCommentTest.php
Go to the documentation of this file.
1 <?php
2 
3 include_once("./Services/Style/System/classes/Less/class.ilSystemStyleLessComment.php");
4 
11 
12  public function testConstruct() {
13  $comment = new ilSystemStyleLessComment("comment");
14  $this->assertEquals("comment", $comment->getComment());
15  }
16 
17  public function testSetters() {
18  $comment = new ilSystemStyleLessComment("name", "comment");
19 
20  $comment->setComment("newComment");
21  $this->assertEquals("newComment", $comment->getComment());
22  }
23 
24  public function testToString(){
25  $comment = new ilSystemStyleLessComment("comment");
26 
27  $this->assertEquals("comment\n",(string)$comment);
28  }
29 
30 }
$comment
Definition: buildRTE.php:83
Capsules all data which is neither part of a variable or category structure in the less file...