ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
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
}
ilCacheTest
Test cache.
Definition:
ilCacheTest.php:11
ilCacheTest\setUp
setUp()
Definition:
ilCacheTest.php:13
ilCacheTest\testSetExpires
testSetExpires()
Test set expires.
Definition:
ilCacheTest.php:25
ilCacheTest\tearDown
tearDown()
Definition:
ilCacheTest.php:18
ilExampleCache
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilExampleCache.php:24
Services
Cache
test
ilCacheTest.php
Generated on Sun Nov 2 2025 22:01:29 for ILIAS by
1.9.4 (using
Doxyfile
)