|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.tests.util.metadata.annotations.GenericAttributesTest
public class GenericAttributesTest
JUnit test for the GenericMetaDataAdvisor class in combination with Java 5 Annotations. Please be sure to compile the Commons Attributes before launching this test.
| Field Summary | |
|---|---|
static String |
SPRING_BEAN_CONFIG_LOCATION
Is the spring bean config location prefix for this test. |
| Constructor Summary | |
|---|---|
GenericAttributesTest()
|
|
| Method Summary | |
|---|---|
void |
testAdvisorWithNoInterceptingAttributes()
This test loads an application context with an AutoProxy, one GenericAttributeAdvisor, a class with declared attributes, but no intercepting Attributes are defined. |
void |
testAdvisorWithNoInterceptor()
This test loads an application context with an AutoProxy, one GenericAttributeAdvisor, a class with declared attributes, but no interceptor are defined. |
void |
testConfiguredAttributeSource()
This test loads an application context with an AutoProxy, a GenericAttributeAdvisor and a class with declared attributes. |
void |
testInterceptorInjectedViaConstructor()
This test loads an application context with an AutoProxy, a GenericAttributeAdvisor and a class with declared attributes. |
void |
testInterceptorInjectedViaConstructorInnerClassAsParameter()
This test does the same as method testInterceptorInjectedViaConstructor but it invokes the
method with an inner class parameter. |
void |
testInterceptorInjectedViaSetter()
This test loads an application context with an AutoProxy, a GenericAttributeAdvisor and a class with declared attributes. |
void |
testTwoAdvisors()
This test loads an application context with a class having declared attributes, an AutoProxy and two GenericAttributeAdvisor with each defined a different ExampleAttribute and a different Interceptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SPRING_BEAN_CONFIG_LOCATION
| Constructor Detail |
|---|
public GenericAttributesTest()
| Method Detail |
|---|
public void testInterceptorInjectedViaConstructor()
public void testInterceptorInjectedViaSetter()
public void testConfiguredAttributeSource()
public void testTwoAdvisors()
public void testAdvisorWithNoInterceptor()
public void testAdvisorWithNoInterceptingAttributes()
public void testInterceptorInjectedViaConstructorInnerClassAsParameter()
testInterceptorInjectedViaConstructor but it invokes the
method with an inner class parameter. This should test if methods which
has inner classes as parameter as also intercepted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||