ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilDerivedTaskCollectorTest.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once __DIR__ .
'/bootstrap.php'
;
5
9
class
ilDerivedTaskCollectorTest
extends
\ilTasksTestBase
10
{
11
public
function
testGetEntries()
12
{
14
$service
= $this->
getTaskServiceMock
();
15
$factory
=
$service
->derived()->factory();
16
17
$collector =
$factory
->collector();
18
19
$entries = $collector->getEntries(0);
20
21
$this->assertTrue($entries[0] instanceof
ilDerivedTask
);
22
$this->assertEquals(
"title"
, $entries[0]->getTitle());
23
}
24
}
ilDerivedTask
Derived task data object.
Definition:
class.ilDerivedTask.php:11
ilDerivedTaskCollectorTest
Definition:
ilDerivedTaskCollectorTest.php:9
$service
$service
Definition:
result.php:17
ilTasksTestBase\getTaskServiceMock
getTaskServiceMock()
Definition:
class.ilTasksTestBase.php:63
ilTasksTestBase
Base test class for tasks tests.
Definition:
class.ilTasksTestBase.php:14
$factory
$factory
Definition:
metadata.php:58
Services
Tasks
test
ilDerivedTaskCollectorTest.php
Generated on Fri Apr 11 2025 21:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)