ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
10
class
ilSkinStyleLessCommentTest
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
}
ilSkinStyleLessCommentTest\testToString
testToString()
Definition:
ilSkinStyleLessCommentTest.php:24
ilSkinStyleLessCommentTest\testSetters
testSetters()
Definition:
ilSkinStyleLessCommentTest.php:17
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
ilSkinStyleLessCommentTest\testConstruct
testConstruct()
Definition:
ilSkinStyleLessCommentTest.php:12
php
ilSkinStyleLessCommentTest
Definition:
ilSkinStyleLessCommentTest.php:10
Services
Style
System
test
ilSkinStyleLessCommentTest.php
Generated on Fri Jan 24 2025 19:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)