ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
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 Apr 11 2025 19:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)