Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FileCacheTest Class Reference
Inheritance diagram for FileCacheTest:
PKPTestCase

Public Member Functions

 testCacheMiss ()
 
 testGetCache ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Public Attributes

 $cacheManager
 
 $cacheMisses
 

Protected Member Functions

 getCache ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Tests for the FileCache class.

See Also
Config

Definition at line 20 of file FileCacheTest.php.

Member Function Documentation

FileCacheTest::getCache ( )
protected

Return a test cache.

Definition at line 125 of file FileCacheTest.php.

FileCacheTest::testCacheMiss ( )
See Also
FileCache::get

Definition at line 73 of file FileCacheTest.php.

FileCacheTest::testGetCache ( )
See Also
FileCache::get

Definition at line 44 of file FileCacheTest.php.

Member Data Documentation

$cacheManager FileCacheTest::$cacheManager

CacheManager

Definition at line 26 of file FileCacheTest.php.

$cacheMisses FileCacheTest::$cacheMisses

int

Definition at line 32 of file FileCacheTest.php.


The documentation for this class was generated from the following file: