Method Summary |
|
public static void | main(String args) Start the tests.
Parameters: args - the arguments. |
protected void | setUp() This setup will be running server side. |
public static Test | suite() Creates the test suite. |
protected void | tearDown() After each testXXX test runs, shut down the Turbine servlet. |
public void | test2ObjectAddGetCachedObject() Simple test that adds, retrieves, and deletes 2 object. |
public void | testCacheFlush() Verify the all object will be flushed from the cache. |
public void | testObjectCount() Verify the Cache count is correct. |
public void | testObjectExpiration() Verify that an object will throw the ObjectExpiredException
when it now longer exists in cache. |
public void | testRefreshableObject() Verfy a refreshable object will refreshed in the following cases:
o The object is retrieved via getObject an it is stale. |
public void | testRefreshableTimeToLive() Verify a cached object will be delete after it has been
untouched beyond it's TimeToLive. |
public void | testSimpleAddGetCacheObject() Simple test that verify an object can be created and deleted. |