|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.tests.services.exceptionhandler.ContextExceptionHandlerTest
public class ContextExceptionHandlerTest
This class tests the context exception handler.
| Field Summary | |
|---|---|
private A |
m_a
The bean that is guarded by the security facade. |
private ApplicationContext |
m_appContext
The application context. |
| Constructor Summary | |
|---|---|
ContextExceptionHandlerTest()
Default constructor. |
|
| Method Summary | |
|---|---|
private void |
step(int call,
int expectedGuiCalls,
int expectedBatchCalls)
Performs a division operation and checks whether the correct method was invoked. |
void |
testContextSemantics()
Tests the context semantics. |
void |
testMissingContext()
Tests whether the situation with a missing context is handled correclty. |
| 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
| Constructor Detail |
|---|
public ContextExceptionHandlerTest()
| Method Detail |
|---|
public void testContextSemantics()
public void testMissingContext()
private void step(int call,
int expectedGuiCalls,
int expectedBatchCalls)
call - The call's number used for displaying assertion failures.expectedGuiCalls - The expected number of GUI error handling code invocations.expectedBatchCalls - The expected number of batch error handling code invocations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||