ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilQTIDisplayfeedbackTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
22
use
PHPUnit\Framework\TestCase
;
23
24
class
ilQTIDisplayfeedbackTest
extends
TestCase
25
{
26
public
function
testConstruct
(): void
27
{
28
$this->assertInstanceOf(ilQTIDisplayfeedback::class,
new
ilQTIDisplayfeedback
());
29
}
30
31
public
function
testSetGetFeedbacktype
(): void
32
{
33
$instance =
new
ilQTIDisplayfeedback
();
34
$instance->setFeedbacktype(
'Some input.'
);
35
$this->assertEquals(
'Some input.'
, $instance->getFeedbacktype());
36
}
37
38
public
function
testSetGetLinkrefid
(): void
39
{
40
$instance =
new
ilQTIDisplayfeedback
();
41
$instance->setLinkrefid(
'Some input.'
);
42
$this->assertEquals(
'Some input.'
, $instance->getLinkrefid());
43
}
44
45
public
function
testSetGetContent
(): void
46
{
47
$instance =
new
ilQTIDisplayfeedback
();
48
$instance->setContent(
'Some input.'
);
49
$this->assertEquals(
'Some input.'
, $instance->getContent());
50
}
51
}
ilQTIDisplayfeedback
Definition:
class.ilQTIDisplayfeedback.php:30
ilQTIDisplayfeedbackTest
Definition:
ilQTIDisplayfeedbackTest.php:24
ilQTIDisplayfeedbackTest\testSetGetLinkrefid
testSetGetLinkrefid()
Definition:
ilQTIDisplayfeedbackTest.php:38
ilQTIDisplayfeedbackTest\testConstruct
testConstruct()
Definition:
ilQTIDisplayfeedbackTest.php:26
ilQTIDisplayfeedbackTest\testSetGetContent
testSetGetContent()
Definition:
ilQTIDisplayfeedbackTest.php:45
TestCase
ilQTIDisplayfeedbackTest\testSetGetFeedbacktype
testSetGetFeedbacktype()
Definition:
ilQTIDisplayfeedbackTest.php:31
Services
QTI
test
ilQTIDisplayfeedbackTest.php
Generated on Tue Apr 1 2025 22:02:31 for ILIAS by
1.8.13 (using
Doxyfile
)