ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ilQTIAssessmentTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
PHPUnit\Framework\TestCase
;
22
23
class
ilQTIAssessmentTest
extends
TestCase
24
{
25
public
function
testConstruct
(): void
26
{
27
$this->assertInstanceOf(ilQTIAssessment::class,
new
ilQTIAssessment
());
28
}
29
30
public
function
testSetGetIdent
(): void
31
{
32
$instance =
new
ilQTIAssessment
();
33
$instance->setIdent(
'Some input.'
);
34
$this->assertEquals(
'Some input.'
, $instance->getIdent());
35
}
36
37
public
function
testSetGetTitle
(): void
38
{
39
$instance =
new
ilQTIAssessment
();
40
$instance->setTitle(
'Some input.'
);
41
$this->assertEquals(
'Some input.'
, $instance->getTitle());
42
}
43
44
public
function
testSetGetXmllang
(): void
45
{
46
$instance =
new
ilQTIAssessment
();
47
$instance->setXmllang(
'Some input.'
);
48
$this->assertEquals(
'Some input.'
, $instance->getXmllang());
49
}
50
51
public
function
testSetGetComment
(): void
52
{
53
$instance =
new
ilQTIAssessment
();
54
$instance->setComment(
'Some input.'
);
55
$this->assertEquals(
'Some input.'
, $instance->getComment());
56
}
57
}
ilQTIAssessmentTest
Definition:
ilQTIAssessmentTest.php:23
ilQTIAssessmentTest\testSetGetXmllang
testSetGetXmllang()
Definition:
ilQTIAssessmentTest.php:44
ilQTIAssessmentTest\testSetGetTitle
testSetGetTitle()
Definition:
ilQTIAssessmentTest.php:37
ilQTIAssessmentTest\testConstruct
testConstruct()
Definition:
ilQTIAssessmentTest.php:25
ilQTIAssessmentTest\testSetGetComment
testSetGetComment()
Definition:
ilQTIAssessmentTest.php:51
ilQTIAssessmentTest\testSetGetIdent
testSetGetIdent()
Definition:
ilQTIAssessmentTest.php:30
ilQTIAssessment
Definition:
class.ilQTIAssessment.php:29
TestCase
TestCase
components
ILIAS
QTI
tests
ilQTIAssessmentTest.php
Generated on Sun Apr 6 2025 23:03:53 for ILIAS by
1.8.13 (using
Doxyfile
)