ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
ilSkinStyleLessCommentTest.php
Go to the documentation of this file.
1
<?php
2
3
include_once(
"./Services/Style/System/classes/Less/class.ilSystemStyleLessComment.php"
);
4
5
use
PHPUnit\Framework\TestCase
;
6
12
class
ilSkinStyleLessCommentTest
extends
TestCase
13
{
14
public
function
testConstruct
()
15
{
16
$comment
=
new
ilSystemStyleLessComment
(
"comment"
);
17
$this->assertEquals(
"comment"
,
$comment
->getComment());
18
}
19
20
public
function
testSetters
()
21
{
22
$comment
=
new
ilSystemStyleLessComment
(
"name"
,
"comment"
);
23
24
$comment
->setComment(
"newComment"
);
25
$this->assertEquals(
"newComment"
,
$comment
->getComment());
26
}
27
28
public
function
testToString
()
29
{
30
$comment
=
new
ilSystemStyleLessComment
(
"comment"
);
31
32
$this->assertEquals(
"comment\n"
, (
string
)
$comment
);
33
}
34
}
ilSkinStyleLessCommentTest\testToString
testToString()
Definition:
ilSkinStyleLessCommentTest.php:28
ilSkinStyleLessCommentTest\testSetters
testSetters()
Definition:
ilSkinStyleLessCommentTest.php:20
$comment
$comment
Definition:
buildRTE.php:83
ilSystemStyleLessComment
Capsules all data which is neither part of a variable or category structure in the less file...
Definition:
class.ilSystemStyleLessComment.php:15
ilSkinStyleLessCommentTest\testConstruct
testConstruct()
Definition:
ilSkinStyleLessCommentTest.php:14
TestCase
ilSkinStyleLessCommentTest
Definition:
ilSkinStyleLessCommentTest.php:12
Services
Style
System
test
ilSkinStyleLessCommentTest.php
Generated on Sun Aug 31 2025 20:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)