net.sf.sasl.distributed.lock.impl
Class LockSessionFactoryTest

java.lang.Object
  extended by net.sf.sasl.distributed.lock.impl.LockSessionFactoryTest

public class LockSessionFactoryTest
extends Object

Test cases for the LockSessionFactory class.

Author:
Philipp Förmer

Constructor Summary
LockSessionFactoryTest()
           
 
Method Summary
 void setUp()
           
 void testGetActiveThreadSharedSession()
          Test cases for the getActiveThreadSharedSession(boolean) method.
 void testGetSetDoThreadCheck()
          Test cases for the getter and setter of the do thread check flag.
 void testGetSetLockProvider()
          Test cases for the getter and setter of the lock provider.
 void testGetSetStrictLockSequences()
          Test cases for the getter and setter of the strict lock sequence flag.
 void testOpenNewLockSession()
          Test cases for the openNewLockSession() method.
 void testRelease()
          Test cases for the release() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockSessionFactoryTest

public LockSessionFactoryTest()
Method Detail

setUp

public void setUp()

testGetSetDoThreadCheck

public void testGetSetDoThreadCheck()
                             throws Exception
Test cases for the getter and setter of the do thread check flag.

Throws:
Exception

testGetSetStrictLockSequences

public void testGetSetStrictLockSequences()
                                   throws Exception
Test cases for the getter and setter of the strict lock sequence flag.

Throws:
Exception

testGetSetLockProvider

public void testGetSetLockProvider()
                            throws Exception
Test cases for the getter and setter of the lock provider.

Throws:
Exception

testGetActiveThreadSharedSession

public void testGetActiveThreadSharedSession()
                                      throws Exception
Test cases for the getActiveThreadSharedSession(boolean) method.

Throws:
Exception

testOpenNewLockSession

public void testOpenNewLockSession()
                            throws Exception
Test cases for the openNewLockSession() method.

Throws:
Exception

testRelease

public void testRelease()
                 throws Exception
Test cases for the release() method.

Throws:
Exception


Copyright © 2010. All Rights Reserved.