|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.jboss.cache.tests.CacheLoaderTests
Commons tests for all CacheLoaders
Constructor Summary | |
CacheLoaderTests()
|
Method Summary | |
protected abstract void |
configureCache()
|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
static 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CacheLoaderTests()
Method Detail |
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected abstract void configureCache() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
public void testPrint() throws CacheException (src)
CacheException (src)
public void testPut() throws CacheException (src)
CacheException (src)
public void testSerialization() throws CacheException (src)
CacheException (src)
public void testPopulate()
public void testPreloading() throws CacheException (src)
CacheException (src)
public void testCacheLoading2() throws CacheException (src)
CacheException (src)
public void testExists() throws java.lang.Exception
java.lang.Exception
public void testGetChildren()
public void testGetChildren2()
public void testGetChildren3()
public void testGetChildren4()
public void testRemoveData() throws java.lang.Exception
java.lang.Exception
public void testRemoveData2() throws java.lang.Exception
java.lang.Exception
public void testRemoveData3() throws java.lang.Exception
java.lang.Exception
public void testRemoveKey() throws java.lang.Exception
java.lang.Exception
public void testRemoveKey2() throws CacheException (src)
CacheException (src)
public void testRemoveKey3() throws CacheException (src)
CacheException (src)
public void testRemove() throws java.lang.Exception
java.lang.Exception
public void testRemoveRoot() throws java.lang.Exception
java.lang.Exception
public void testEvictionWithCacheLoader() throws java.lang.Exception
java.lang.Exception
public void testEvictionWithCacheLoader2() throws java.lang.Exception
java.lang.Exception
public void testEvictionWithGetChildrenNames() throws java.lang.Exception
java.lang.Exception
public void testTxPutCommit() throws java.lang.Exception, NotSupportedException (src)
java.lang.Exception
NotSupportedException (src)
public void testTxPutRollback() throws java.lang.Exception, NotSupportedException (src)
java.lang.Exception
NotSupportedException (src)
public void testBasicOperations() throws java.lang.Exception
java.lang.Exception
public void testBasicOperationsTransactional() throws java.lang.Exception
java.lang.Exception
public void testMultiLevelTree() throws java.lang.Exception
java.lang.Exception
public void testGetChildrenNames() throws java.lang.Exception
java.lang.Exception
public void testModifications() throws java.lang.Exception
java.lang.Exception
public void testModificationsTransactional() throws java.lang.Exception
java.lang.Exception
public void testOnePhaseTransaction() throws java.lang.Exception
java.lang.Exception
public void testTwoPhaseTransaction() throws java.lang.Exception
java.lang.Exception
public void testTransactionRollback() throws java.lang.Exception
java.lang.Exception
public void testNullKeysAndValues() throws java.lang.Exception
java.lang.Exception
public void testDatabaseName() throws java.lang.Exception
java.lang.Exception
public void testLoadAndStore() throws java.lang.Exception
java.lang.Exception
public static Test suite()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |