ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testLoad () | |
testLoadMissing () | |
testWrite () | |
testWriteFailMkdir () | |
RuntimeException Unable to create the cache directory More... | |
testWriteFailDirWritable () | |
RuntimeException Unable to write in the cache directory More... | |
testWriteFailWriteFile () | |
RuntimeException Failed to write cache file More... | |
testGetTimestamp () | |
testGetTimestampMissingFile () | |
testGenerateKey ($expected, $input) | |
Test file cache is tolerant towards trailing (back)slashes on the configured cache directory. More... | |
provideDirectories () | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Private Member Functions | |
generateSource () | |
Private Attributes | |
$classname | |
$directory | |
$cache | |
Definition at line 14 of file FilesystemTest.php.
|
private |
Definition at line 187 of file FilesystemTest.php.
Referenced by testLoad(), testWrite(), testWriteFailDirWritable(), testWriteFailMkdir(), and testWriteFailWriteFile().
Twig_Tests_Cache_FilesystemTest::provideDirectories | ( | ) |
Definition at line 173 of file FilesystemTest.php.
|
protected |
Definition at line 20 of file FilesystemTest.php.
References GuzzleHttp\Psr7\hash().
|
protected |
Definition at line 28 of file FilesystemTest.php.
References Twig_Tests_FilesystemHelper\removeDir().
Twig_Tests_Cache_FilesystemTest::testGenerateKey | ( | $expected, | |
$input | |||
) |
Test file cache is tolerant towards trailing (back)slashes on the configured cache directory.
provideDirectories
Definition at line 167 of file FilesystemTest.php.
References $cache, and $input.
Twig_Tests_Cache_FilesystemTest::testGetTimestamp | ( | ) |
Twig_Tests_Cache_FilesystemTest::testGetTimestampMissingFile | ( | ) |
Definition at line 156 of file FilesystemTest.php.
References $key.
Twig_Tests_Cache_FilesystemTest::testLoad | ( | ) |
Definition at line 35 of file FilesystemTest.php.
References $key, and generateSource().
Twig_Tests_Cache_FilesystemTest::testLoadMissing | ( | ) |
Definition at line 52 of file FilesystemTest.php.
References $key.
Twig_Tests_Cache_FilesystemTest::testWrite | ( | ) |
Definition at line 63 of file FilesystemTest.php.
References $key, and generateSource().
Twig_Tests_Cache_FilesystemTest::testWriteFailDirWritable | ( | ) |
RuntimeException Unable to write in the cache directory
Definition at line 104 of file FilesystemTest.php.
References $key, and generateSource().
Twig_Tests_Cache_FilesystemTest::testWriteFailMkdir | ( | ) |
RuntimeException Unable to create the cache directory
Definition at line 82 of file FilesystemTest.php.
References $key, and generateSource().
Twig_Tests_Cache_FilesystemTest::testWriteFailWriteFile | ( | ) |
RuntimeException Failed to write cache file
Definition at line 128 of file FilesystemTest.php.
References $key, and generateSource().
|
private |
Definition at line 18 of file FilesystemTest.php.
Referenced by testGenerateKey().
|
private |
Definition at line 16 of file FilesystemTest.php.
|
private |
Definition at line 17 of file FilesystemTest.php.