|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.tests.services.exceptionhandler.SafetyFacadeTest
public class SafetyFacadeTest
This class tests the security facade.
| Field Summary | |
|---|---|
private A |
m_a
The bean that is guarded by the security facade. |
private ApplicationContext |
m_appContext
The application context. |
private A |
m_unsafeA
The bare bean. |
| Constructor Summary | |
|---|---|
SafetyFacadeTest()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
testA()
Checks on the guarded bean that no exception is thrown and that the result is converted correctly. |
void |
testForwardInterfaceExceptions()
Tests whether the checked application exception is forwarded correctly. |
void |
testReconfigurationExceptionHandler()
Tests the reconfiguration of a bean. |
void |
testRetry()
Tests the retry exception handler. |
void |
testRoundRobinExceptonHandler()
Tests the round robin exception handler. |
void |
testRTException()
Checks that an runtime exception is consumed by the security facade. |
void |
testUnsafeA()
Checks that the bare bean is still available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ApplicationContext m_appContext
private A m_a
private A m_unsafeA
| Constructor Detail |
|---|
public SafetyFacadeTest()
| Method Detail |
|---|
public void testA()
public void testUnsafeA()
public void testRTException()
public void testForwardInterfaceExceptions()
public void testReconfigurationExceptionHandler()
public void testRoundRobinExceptonHandler()
public void testRetry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||