Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.mstore.fs
Class TestFileSystemStore  view TestFileSystemStore download TestFileSystemStore.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mom4j.mstore.fs.TestFileSystemStore
All Implemented Interfaces:
junit.framework.Test

public class TestFileSystemStore
extends junit.framework.TestCase


Nested Class Summary
(package private)  class TestFileSystemStore.Locker
           
static class TestFileSystemStore.TestStoreHandle
           
(package private)  class TestFileSystemStore.TRunner
           
 
Field Summary
static java.lang.String BASEDIR
           
private  int count
           
private static java.lang.String DELIM
           
private static java.lang.String DESTINATION
           
private static java.lang.String DESTINATION1
           
private  FileSystemStore store
           
private  java.io.File storePath
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestFileSystemStore(java.lang.String name)
          Creates new TestFileStore
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void testBasics()
           
 void testBasicWriteReadDelete()
           
 void testDeleteTxCommit()
           
 void testDeleteTxRollback()
           
 void testGetEldestLatest()
           
 void testGetEldestLatestWithPrio()
           
 void testInitRecovery()
           
 void testMultiThreaded()
           
 void testReadLock()
           
 void testWriteTxCommit()
           
 void testWriteTxRollback()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Field Detail

BASEDIR

public static final java.lang.String BASEDIR
See Also:
Constant Field Values

DESTINATION

private static final java.lang.String DESTINATION

DESTINATION1

private static final java.lang.String DESTINATION1

DELIM

private static final java.lang.String DELIM

store

private FileSystemStore store

storePath

private java.io.File storePath

count

private int count
Constructor Detail

TestFileSystemStore

public TestFileSystemStore(java.lang.String name)
Creates new TestFileStore

Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testBasics

public void testBasics()
                throws java.lang.Exception

testBasicWriteReadDelete

public void testBasicWriteReadDelete()
                              throws java.lang.Exception

testWriteTxCommit

public void testWriteTxCommit()
                       throws java.lang.Exception

testWriteTxRollback

public void testWriteTxRollback()
                         throws java.lang.Exception

testDeleteTxCommit

public void testDeleteTxCommit()
                        throws java.lang.Exception

testDeleteTxRollback

public void testDeleteTxRollback()
                          throws java.lang.Exception

testReadLock

public void testReadLock()
                  throws java.lang.Exception

testInitRecovery

public void testInitRecovery()
                      throws java.lang.Exception

testGetEldestLatest

public void testGetEldestLatest()
                         throws java.lang.Exception

testGetEldestLatestWithPrio

public void testGetEldestLatestWithPrio()
                                 throws java.lang.Exception

testMultiThreaded

public void testMultiThreaded()
                       throws java.lang.Exception