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
ilCacheTest.php
Go to the documentation of this file.
1
<?php
2
3
use
PHPUnit\Framework\TestCase
;
4
10
class
ilCacheTest
extends
TestCase
11
{
12
// PHP8-Review: Redundant method override
13
protected
function
setUp
(): void
14
{
15
parent::setUp();
16
}
17
18
protected
function
tearDown
(): void
19
{
20
}
21
25
public
function
testSetExpires
()
26
{
27
$ex_cache =
new
ilExampleCache
();
28
29
$this->assertEquals(
30
5,
31
$ex_cache->getExpiresAfter()
32
);
33
}
34
}
ilExampleCache
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilExampleCache.php:23
ilCacheTest\setUp
setUp()
Definition:
ilCacheTest.php:13
ilCacheTest\tearDown
tearDown()
Definition:
ilCacheTest.php:18
ilCacheTest
Test cache.
Definition:
ilCacheTest.php:10
TestCase
ilCacheTest\testSetExpires
testSetExpires()
Test set expires.
Definition:
ilCacheTest.php:25
Services
Cache
test
ilCacheTest.php
Generated on Tue Apr 1 2025 22:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)