Package org.jboss.gravia.arquillian.container.SetupTask

Examples of org.jboss.gravia.arquillian.container.SetupTask.SetupContext


        List<T> setupTasks = getSetupTasks();
        if (!setupTasks.isEmpty()) {
            ClassContext classContext = classContextInstance.get();
            ObjectStore suiteStore = suiteContextInstance.get().getObjectStore();
            ObjectStore classStore = classContext.getObjectStore();
            SetupContext context = getSetupContext(suiteStore, classStore);
            for (T task : setupTasks) {
                task.beforeClass(context);
            }
        }
    }
View Full Code Here


        List<T> setupTasks = getSetupTasks();
        if (!setupTasks.isEmpty()) {
            ClassContext classContext = classContextInstance.get();
            ObjectStore classStore = classContext.getObjectStore();
            ObjectStore suiteStore = suiteContextInstance.get().getObjectStore();
            SetupContext context = getSetupContext(suiteStore, classStore);
            for (T task : setupTasks) {
                task.afterClass(context);
            }
        }
    }
View Full Code Here

    public void handleAfterSuite(@Observes AfterSuite event) throws Throwable {
        SuiteContext suiteContext = suiteContextInstance.get();
        TaskList<T> setupTasks = suiteContext.getObjectStore().get(TaskList.class);
        if (!setupTasks.isEmpty()) {
            ObjectStore suiteStore = suiteContext.getObjectStore();
            SetupContext context = new AbstractSetupContext(suiteStore, null);
            for (T task : setupTasks) {
                task.afterSuite(context);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.gravia.arquillian.container.SetupTask.SetupContext

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.