|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.jboss.cache.tests.CacheLoaderTests
Commons tests for all CacheLoaders
Constructor Summary | |
CacheLoaderTests()
|
Method Summary | |
protected abstract void |
configureCache()
|
static void |
main(String[] args)
|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testBasicOperations()
Tests basic operations without a transaction. |
void |
testBasicOperationsTransactional()
Tests basic operations with a transaction. |
void |
testCacheLoading2()
|
void |
testDatabaseName()
Test non-default database name. |
void |
testEvictionWithCacheLoader()
|
void |
testEvictionWithCacheLoader2()
|
void |
testEvictionWithGetChildrenNames()
|
void |
testExists()
|
void |
testGetChildren()
|
void |
testGetChildren2()
|
void |
testGetChildren3()
|
void |
testGetChildren4()
|
void |
testGetChildrenNames()
Tests the getChildrenNames() method. |
void |
testLoadAndStore()
Test load/store state. |
void |
testModifications()
Tests basic operations without a transaction. |
void |
testModificationsTransactional()
Tests basic operations with a transaction. |
void |
testMultiLevelTree()
Tests creating implicit intermediate nodes when a leaf node is created, and tests removing subtrees. |
void |
testNullKeysAndValues()
Tests that null keys and values work as for a standard Java Map. |
void |
testOnePhaseTransaction()
Tests a one-phase transaction. |
void |
testPopulate()
Just adds some data that wil be later retrieved. |
void |
testPreloading()
|
void |
testPrint()
|
void |
testPut()
|
void |
testRemove()
|
void |
testRemoveData()
|
void |
testRemoveData2()
|
void |
testRemoveData3()
|
void |
testRemoveKey()
|
void |
testRemoveKey2()
|
void |
testRemoveKey3()
|
void |
testRemoveRoot()
|
void |
testSerialization()
|
void |
testTransactionRollback()
Tests rollback of a two-phase transaction. |
void |
testTwoPhaseTransaction()
Tests a two-phase transaction. |
void |
testTxPutCommit()
|
void |
testTxPutRollback()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CacheLoaderTests()
Method Detail |
protected void setUp() throws Exception
Exception
protected abstract void configureCache() throws Exception
Exception
protected void tearDown() throws Exception
Exception
public void testPrint() throws CacheException
CacheException
public void testPut() throws CacheException
CacheException
public void testSerialization() throws CacheException
CacheException
public void testPopulate()
public void testPreloading() throws CacheException
CacheException
public void testCacheLoading2() throws CacheException
CacheException
public void testExists() throws Exception
Exception
public void testGetChildren()
public void testGetChildren2()
public void testGetChildren3()
public void testGetChildren4()
public void testRemoveData() throws Exception
Exception
public void testRemoveData2() throws Exception
Exception
public void testRemoveData3() throws Exception
Exception
public void testRemoveKey() throws Exception
Exception
public void testRemoveKey2() throws CacheException
CacheException
public void testRemoveKey3() throws CacheException
CacheException
public void testRemove() throws Exception
Exception
public void testRemoveRoot() throws Exception
Exception
public void testEvictionWithCacheLoader() throws Exception
Exception
public void testEvictionWithCacheLoader2() throws Exception
Exception
public void testEvictionWithGetChildrenNames() throws Exception
Exception
public void testTxPutCommit() throws Exception, NotSupportedException
Exception
NotSupportedException
public void testTxPutRollback() throws Exception, NotSupportedException
Exception
NotSupportedException
public void testBasicOperations() throws Exception
Exception
public void testBasicOperationsTransactional() throws Exception
Exception
public void testMultiLevelTree() throws Exception
Exception
public void testGetChildrenNames() throws Exception
Exception
public void testModifications() throws Exception
Exception
public void testModificationsTransactional() throws Exception
Exception
public void testOnePhaseTransaction() throws Exception
Exception
public void testTwoPhaseTransaction() throws Exception
Exception
public void testTransactionRollback() throws Exception
Exception
public void testNullKeysAndValues() throws Exception
Exception
public void testDatabaseName() throws Exception
Exception
public void testLoadAndStore() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |