ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ilSkinStyleLessCommentTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
require_once(
'libs/composer/vendor/autoload.php'
);
22
23
use
PHPUnit\Framework\TestCase
;
24
25
class
ilSkinStyleLessCommentTest
extends
TestCase
26
{
27
public
function
testConstruct
(): void
28
{
29
$comment
=
new
ilSystemStyleLessComment
(
'comment'
);
30
$this->assertEquals(
'comment'
,
$comment
->getComment());
31
}
32
33
public
function
testSetters
(): void
34
{
35
$comment
=
new
ilSystemStyleLessComment
(
'comment'
);
36
37
$comment
->setComment(
'newComment'
);
38
$this->assertEquals(
'newComment'
,
$comment
->getComment());
39
}
40
41
public
function
testToString
(): void
42
{
43
$comment
=
new
ilSystemStyleLessComment
(
'comment'
);
44
45
$this->assertEquals(
"comment\n"
, (
string
)
$comment
);
46
}
47
}
ilSkinStyleLessCommentTest\testToString
testToString()
Definition:
ilSkinStyleLessCommentTest.php:41
ilSkinStyleLessCommentTest\testSetters
testSetters()
Definition:
ilSkinStyleLessCommentTest.php:33
$comment
$comment
Definition:
buildRTE.php:72
ilSystemStyleLessComment
Capsules all data which is neither part of a variable or category structure in the less file...
Definition:
class.ilSystemStyleLessComment.php:29
ilSkinStyleLessCommentTest\testConstruct
testConstruct()
Definition:
ilSkinStyleLessCommentTest.php:27
TestCase
ilSkinStyleLessCommentTest
Definition:
ilSkinStyleLessCommentTest.php:25
Services
Style
System
test
Less
ilSkinStyleLessCommentTest.php
Generated on Wed Sep 3 2025 22:02:43 for ILIAS by
1.8.13 (using
Doxyfile
)