| |
|
| java.lang.Object org.ow2.easybeans.tests.inheritance.TestInheritanceAnnotation
TestInheritanceAnnotation | public class TestInheritanceAnnotation (Code) | | Verifies if the bean inheritance is following the JSR 220 spec.The item 15.2.2
says that the injection must be available in the inheritance hierarchy.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public void | setup() Creates a bean to be used in the tests. | public void | testSessionContextInheritance00() Verifies if a subclass can use the SessionContext injected in the
superclass. | public void | testSessionContextInheritance01() Verifies if a subclass can use a SessionContext injected in the superclas
that is not direct ancestor. |
setup | public void setup() throws Exception(Code) | | Creates a bean to be used in the tests.
throws: Exception - if there is a problem with the bean initialization. |
testSessionContextInheritance00 | public void testSessionContextInheritance00() throws Exception(Code) | | Verifies if a subclass can use the SessionContext injected in the
superclass.
throws: Exception - if an error during the test occurs. |
testSessionContextInheritance01 | public void testSessionContextInheritance01() throws Exception(Code) | | Verifies if a subclass can use a SessionContext injected in the superclas
that is not direct ancestor.
throws: Exception - if an error during the test occurs. |
|
|
|