|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.tests.enhancer.interceptors.business.BusinessInterceptorsTestCase
public class BusinessInterceptorsTestCase
Call bean and see if interceptor has not broken methods calls.
Field Summary | |
---|---|
private static boolean |
enhancingDone
Enhancing has been done ? |
private StatelessBean |
statelessBean
Bean tested. |
Constructor Summary | |
---|---|
BusinessInterceptorsTestCase()
|
Method Summary | |
---|---|
protected void |
setUp()
Setup for test case. |
void |
testBoolean()
Tests the boolean. |
void |
testByte()
Tests the bytes. |
void |
testChar()
Tests the chars. |
void |
testCounter()
Test that aroundInvoke in the bean has increased a counter. |
void |
testDouble()
Tests the double. |
void |
testExcludedInterceptorsMethod()
Test that no interceptors are called on this method. |
void |
testFloat()
Tests the float. |
void |
testInt()
Tests the int. |
void |
testInterceptorThrowException()
Test that interceptor throw an exception. |
void |
testLong()
Tests the long. |
void |
testMix()
Mix of primitive / object. |
void |
testMultipleException3()
Test user defined exceptions and exceptions. |
void |
testOtherClassInterceptorCounter()
Test that interceptor has increased a counter. |
void |
testShort()
Tests the short. |
void |
testSingleMethodIntercepted()
Test that the interceptor is only called on a stateless bean and on singleMethodIntercepted method. |
void |
testUserDefinedException()
Test a user defined exception. |
void |
testUserDefinedException2()
Test a user defined exception. |
void |
testValueDoubledByInterceptor()
Test that value is increased by interceptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private StatelessBean statelessBean
private static boolean enhancingDone
Constructor Detail |
---|
public BusinessInterceptorsTestCase()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
java.lang.Exception
- if super method failspublic void testBoolean()
public void testByte()
public void testChar()
public void testDouble()
public void testFloat()
public void testInt()
public void testLong()
public void testShort()
public void testMix()
public void testUserDefinedException()
public void testUserDefinedException2()
public void testMultipleException3()
public void testCounter()
public void testOtherClassInterceptorCounter()
public void testInterceptorThrowException()
public void testValueDoubledByInterceptor()
public void testSingleMethodIntercepted()
public void testExcludedInterceptorsMethod()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |