ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ilSystemStyleLessCommentTest.php
Go to the documentation of this file.
1
<?
php
2
3
include_once(
"./Services/Style/System/classes/Less/class.ilSystemStyleLessComment.php"
);
4
10
class
ilSystemStyleLessCommentTest
extends
PHPUnit_Framework_TestCase
{
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
}
ilSystemStyleLessCommentTest\testSetters
testSetters()
Definition:
ilSystemStyleLessCommentTest.php:17
ilSystemStyleLessCommentTest
Definition:
ilSystemStyleLessCommentTest.php:10
ilSystemStyleLessCommentTest\testToString
testToString()
Definition:
ilSystemStyleLessCommentTest.php:24
PHPUnit_Framework_TestCase
$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
php
ilSystemStyleLessCommentTest\testConstruct
testConstruct()
Definition:
ilSystemStyleLessCommentTest.php:12
Services
Style
System
test
ilSystemStyleLessCommentTest.php
Generated on Fri Jan 17 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)