net.sf.sasl.aop.distributed.lock
Class DistributedLockAspectTest

java.lang.Object
  extended by net.sf.sasl.aop.distributed.lock.DistributedLockAspectTest

public class DistributedLockAspectTest
extends Object

Test cases for the DistributedLockAspect class.

Author:
Philipp Förmer

Constructor Summary
DistributedLockAspectTest()
           
 
Method Summary
 void setUp()
           
 void testBuildLockInformationFromDynamicLockKey()
          Test cases for the buildLockInformationFromDynamicLockKey(DistributedMutexLockKey, DistributedMutexLockKeys, Method, Object[], int) method.
 void testBuildLockInformationFromStaticLockKey()
          Test cases for the DistributedLockAspect method.
 void testBuildLockInformationList()
          Test cases for the buildLockInformationList(List, Annotation[], Method, Object[], int) method.
 void testBuildUnsortedLockInformationList()
          Test cases for the buildUnsortedLockInformationList(MethodInvocation) method.
 void testDoAnnotationDeclaredLocks()
          Test cases for the doAnnotationDeclaredLocks(ILockSession, MethodInvocation) method.
 void testGetSetLockSessionFactory()
          Test cases for the getter and setter of the lockSessionFactory property.
 void testGetSetReflectionHelper()
          Test cases for the getter and setter of the reflectionHelper property.
 void testGetSetSpringProxyHelper()
          Test cases for the getter and setter of the springProxyHelper property.
 void testInvoke()
          Test cases for the invoke(MethodInvocation) method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedLockAspectTest

public DistributedLockAspectTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testGetSetLockSessionFactory

public void testGetSetLockSessionFactory()
                                  throws Exception
Test cases for the getter and setter of the lockSessionFactory property.

Throws:
Exception

testGetSetSpringProxyHelper

public void testGetSetSpringProxyHelper()
                                 throws Exception
Test cases for the getter and setter of the springProxyHelper property.

Throws:
Exception

testGetSetReflectionHelper

public void testGetSetReflectionHelper()
                                throws Exception
Test cases for the getter and setter of the reflectionHelper property.

Throws:
Exception

testInvoke

public void testInvoke()
                throws Throwable
Test cases for the invoke(MethodInvocation) method.

Throws:
Exception
Throwable

testDoAnnotationDeclaredLocks

public void testDoAnnotationDeclaredLocks()
                                   throws Exception
Test cases for the doAnnotationDeclaredLocks(ILockSession, MethodInvocation) method.

Throws:
Exception

testBuildUnsortedLockInformationList

public void testBuildUnsortedLockInformationList()
                                          throws Exception
Test cases for the buildUnsortedLockInformationList(MethodInvocation) method.

Throws:
Exception

testBuildLockInformationList

public void testBuildLockInformationList()
                                  throws Exception
Test cases for the buildLockInformationList(List, Annotation[], Method, Object[], int) method.

Throws:
Exception

testBuildLockInformationFromStaticLockKey

public void testBuildLockInformationFromStaticLockKey()
                                               throws Exception
Test cases for the DistributedLockAspect method.

Throws:
Exception

testBuildLockInformationFromDynamicLockKey

public void testBuildLockInformationFromDynamicLockKey()
                                                throws Exception
Test cases for the buildLockInformationFromDynamicLockKey(DistributedMutexLockKey, DistributedMutexLockKeys, Method, Object[], int) method.

Throws:
Exception


Copyright © 2010. All Rights Reserved.