| com.opensymphony.oscache.base.TestAbstractCacheAdministrator
All known Subclasses: com.opensymphony.oscache.general.TestGeneralCacheAdministrator,
TestAbstractCacheAdministrator | abstract public class TestAbstractCacheAdministrator extends TestCase (Code) | | Test class for the AbstractCacheAdministrator class. It tests some of the
public methods of the admin. Some others cannot be tested since they are
linked to the property file used for the tests, and since this file
will change, the value of some parameters cannot be asserted
$Id: TestAbstractCacheAdministrator.java 385 2006-10-07 06:57:10Z larst $
version: $Revision: 385 $ author: Alain Bergevin |
TestAbstractCacheAdministrator | protected TestAbstractCacheAdministrator(String str)(Code) | | Constructor for the this test class.
Parameters: str - Test name (required by JUnit) |
testCacheContents | public void testCacheContents()(Code) | | Cannot be tested since CacheContents is an interface
|
testGetCachePath | public void testGetCachePath()(Code) | | We cannot test this method because the value depends on the property
|
testGetProperty | public void testGetProperty()(Code) | | Validate that the properties retrieved by the admin are the same as the one
specified in the property file. Do not test cache path or memory cache
since it changes with the tests
|
testIsFileCaching | public void testIsFileCaching()(Code) | | We cannot test this method because the value depends on the property
|
testIsMemoryCaching | public void testIsMemoryCaching()(Code) | | We cannot test this method because the value depends on the property
|
testLog | public void testLog()(Code) | | Perform a call to the log method. Unfornately, there is no way to check
if the logging is done correctly, we only invoke it
|
|
|