|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--com.ls.meta.junit.TestCaseBase | +--com.ls.util.cache.CacheTimerTestCase
Test class for CacheTimer. In this class you can find the test cases.
Fields inherited from class com.ls.meta.junit.TestCaseBase |
EQUALS, GREATER, GREATER_OR_EQUAL, SMALLER, SMALLER_OR_EQUAL |
Constructor Summary | |
CacheTimerTestCase(String name)
Constructor. |
Method Summary | |
static void |
main(String[] args)
For testing only! |
protected void |
setUp()
Sets up the test fixture before every call to a test method. |
protected void |
tearDown()
Tears down the test fixture after every call to a test method. |
void |
testCacheOneCacherNormal()
This class tests the normal usage of Cache class |
void |
testCacheOneCacherNormalUnlimited()
This class tests with the unlimited timeout |
void |
testCacheOneCacherNotNormal()
This class tests the normal usage of Cache class with timeout |
void |
testCacheTwoCacher()
This class tests the usage of two caches |
void |
testCacheTwoCacherClearOldData()
This class tests the usage of two caches and celaring old data |
void |
testCacheTwoCacherNormalUnlimited()
This class tests with the unlimited timeout and two cache object |
void |
testCacheWithClear()
This class tests the usage of two caches and clear |
void |
testCacheWithDelete()
This class tests the usage of two caches and delete |
void |
testInfo()
This class tests the result of getCacheStatus() method |
void |
testTwoCacherWithError()
This class tests the usage of two caches and error |
Methods inherited from class com.ls.meta.junit.TestCaseBase |
assertAbsEquals, assertAbsEquals, assertAbsEquals, assertAbsEquals, assertAbsEquals, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompares, assertCompareTo, assertCompareTo, assertContainsKeys, assertContainsValues, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertHeadEquals, assertKeysSerializable, assertSerializable, assertSubEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertSubrangeEquals, assertTailEquals, assertValuesSerializable, checkDateFormat, checkTimeFragment, ensureCorrectParameters, getSystemLogger, getTestProperties |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CacheTimerTestCase(String name)
name
- name of testcaseMethod Detail |
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testCacheOneCacherNormal()
public void testCacheOneCacherNotNormal()
public void testCacheOneCacherNormalUnlimited()
public void testCacheTwoCacherNormalUnlimited()
public void testCacheTwoCacher()
public void testTwoCacherWithError()
public void testCacheWithDelete()
public void testCacheWithClear()
public void testCacheTwoCacherClearOldData()
public void testInfo()
public static void main(String[] args)
args
- command line arguments
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |