Package org.jboss.arquillian.spring.integration.test.annotation

Examples of org.jboss.arquillian.spring.integration.test.annotation.SpringClientAnnotationConfiguration


     * @param testClass the test class
     * @return created {@link org.springframework.context.ApplicationContext}
     */
    private ApplicationContext getApplicationContext(TestClass testClass) {

        SpringClientAnnotationConfiguration springConfiguration =
                testClass.getAnnotation(SpringClientAnnotationConfiguration.class);

        String[] packages = springConfiguration.packages();
        Class<?>[] classes = springConfiguration.classes();

        // creates standard spring annotated application context
        return createAnnotatedApplicationContext(testClass, packages, classes);
    }
View Full Code Here


     * @param testClass the test class
     * @return created {@link ApplicationContext}
     */
    private ApplicationContext getApplicationContext(TestClass testClass) {

        SpringClientAnnotationConfiguration springConfiguration =
                testClass.getAnnotation(SpringClientAnnotationConfiguration.class);

        Class<?> wrappedTestClass = testClass.getJavaClass();

        Class<?>[] classes = configurationClassesProcessor.findConfigurationClasses(springConfiguration, wrappedTestClass);
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.spring.integration.test.annotation.SpringClientAnnotationConfiguration

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.