|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.tests.core.implicitcontextpassing.ImplicitContextPassingIntegrationTest
public class ImplicitContextPassingIntegrationTest
This integration test checks correctness of the Implicit context passer.
| Field Summary | |
|---|---|
private static String[] |
CONFIG_LOCATION
Location where config files can be found. |
private ApplicationContext |
m_appContext
ApplicationContext object. |
private Calculator |
m_calc
Inteface of service provided by server. |
private ImplicitContextPassTester |
m_clientPasserA
Implicit context passer for client. |
private ImplicitContextPassingRegistry |
m_clientRegistry
ImplicitContextPassingRegistry for client. |
private ImplicitContextPassTester |
m_serverPasserA
Implicit context passer for server. |
private ImplicitContextPassingRegistry |
m_serverRegistry
ImplicitContextPassingRegistry for server. |
| Constructor Summary | |
|---|---|
ImplicitContextPassingIntegrationTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testClientContextPasserIsNull()
This test simulates registration with contextPasser of client beeing null. |
void |
testOnePasserDoubleData()
This tests simulates context passing with one passer on each side, passing an double. |
void |
testOnePasserEmptyListData()
This tests simulates context passing with one passer on each side, passing an empty list. |
void |
testOnePasserFloatData()
This tests simulates context passing with one passer on each side, passing a float. |
void |
testOnePasserIntegerData()
This tests simulates context passing with one passer on each side, passing an integer. |
void |
testOnePasserListData()
This tests simulates context passing with one passer on each side, passing a list. |
void |
testRegistryIsNull()
This test simulates assignment to passer of a registry beeing null . |
void |
testServerContextPasserIsNull()
This test simulates registration with contextPasser of server beeing null. |
void |
testServiceNotCalled()
This test checks if context is NOT passed if service method isn't called. |
void |
testTwoAndOnePasser()
This tests simulates context passing with two passers on client side and one on server side, passing a double and a list. |
void |
testTwoPasser()
This tests simulates context passing with two passers on each side, passing a double and a list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String[] CONFIG_LOCATION
private ApplicationContext m_appContext
private ImplicitContextPassingRegistry m_clientRegistry
private ImplicitContextPassingRegistry m_serverRegistry
private ImplicitContextPassTester m_clientPasserA
private ImplicitContextPassTester m_serverPasserA
private Calculator m_calc
| Constructor Detail |
|---|
public ImplicitContextPassingIntegrationTest()
| Method Detail |
|---|
public void setUp()
public void testClientContextPasserIsNull()
public void testServerContextPasserIsNull()
public void testRegistryIsNull()
public void testOnePasserIntegerData()
public void testOnePasserFloatData()
public void testOnePasserDoubleData()
public void testOnePasserListData()
public void testOnePasserEmptyListData()
public void testServiceNotCalled()
public void testTwoPasser()
public void testTwoAndOnePasser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||