Package org.jboss.test.deployers.scope.support

Examples of org.jboss.test.deployers.scope.support.TestComponent1


         main.checkComplete();
         DeploymentUnit unit = getDeploymentUnit(main, "A");
         List<DeploymentUnit> components = unit.getComponents();
         assertEquals(1, components.size());
         DeploymentUnit component = components.get(0);
         TestComponent1 proxy = component.getAttachment("proxy", TestComponent1.class);
        
         TestClassAspect.classAnnotation = null;
         proxy.doSomething();
        
         TestClassAnnotation annotation = TestClassAspect.classAnnotation;
         assertNotNull(annotation);
         assertEquals("Class", annotation.where());
      }
View Full Code Here


         main.checkComplete();
         DeploymentUnit unit = getDeploymentUnit(main, "A");
         List<DeploymentUnit> components = unit.getComponents();
         assertEquals(1, components.size());
         DeploymentUnit component = components.get(0);
         TestComponent1 proxy = component.getAttachment("proxy", TestComponent1.class);
        
         TestClassAspect.classAnnotation = null;
         proxy.doSomething();
        
         TestClassAnnotation annotation = TestClassAspect.classAnnotation;
         assertNotNull(annotation);
         assertEquals("Class", annotation.where());
      }
View Full Code Here

TOP

Related Classes of org.jboss.test.deployers.scope.support.TestComponent1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.