|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.jboss.cache.tests.BdbjeUnitTestCase
Tests BdbjeCacheLoader directly via the CacheLoader interface.
Run this test case with the current directory set to the JE environment directory. Any scratch directory will do, but beware that all files in the directory will be deleted by setUp().
Constructor Summary | |
BdbjeUnitTestCase(java.lang.String name)
Creates a test case. |
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
setUp()
Deletes all files in the environment directory. |
static Test |
suite()
|
void |
tearDown()
Release all resources and ignore exceptions, to shutdown gracefully when an assertion fires. |
void |
testBasicExceptions()
Test exception cases and create/destroy/create/destroy sequence. |
void |
testBasicOperations()
Tests basic operations without a transaction. |
void |
testBasicOperationsTransactional()
Tests basic operations with a transaction. |
void |
testDatabaseName()
Test non-default database name. |
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 |
testTransactionExceptions()
Tests a non-transactional prepare. |
void |
testTransactionRollback()
Tests rollback of a two-phase transaction. |
void |
testTwoPhaseTransaction()
Tests a two-phase transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BdbjeUnitTestCase(java.lang.String name)
Method Detail |
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown() throws java.lang.Exception
java.lang.Exception
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 testBasicExceptions() throws java.lang.Exception
java.lang.Exception
public void testTransactionExceptions() 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() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |