ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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
NewsContextTest.php
Go to the documentation of this file.
1
<?php
2
19
use
PHPUnit\Framework\TestCase
;
20
24
class
NewsContextTest
extends
TestCase
25
{
26
protected
function
tearDown
(): void
27
{
28
}
29
33
public
function
testContextProperties
(): void
34
{
35
$context
=
new
ilNewsContext
(
36
1,
37
"otype"
,
38
2,
39
"osubtype"
40
);
41
42
$this->assertEquals(
43
1,
44
$context
->getObjId()
45
);
46
$this->assertEquals(
47
"otype"
,
48
$context
->getObjType()
49
);
50
$this->assertEquals(
51
2,
52
$context
->getSubId()
53
);
54
$this->assertEquals(
55
"osubtype"
,
56
$context
->getSubType()
57
);
58
}
59
}
ilNewsContext
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilNewsContext.php:22
NewsContextTest
Definition:
NewsContextTest.php:24
$context
$context
Definition:
webdav.php:31
NewsContextTest\tearDown
tearDown()
Definition:
NewsContextTest.php:26
NewsContextTest\testContextProperties
testContextProperties()
Test admin view.
Definition:
NewsContextTest.php:33
TestCase
TestCase
components
ILIAS
News
tests
NewsContextTest.php
Generated on Tue Apr 8 2025 23:03:58 for ILIAS by
1.8.13 (using
Doxyfile
)