@Override protected void doEvaluation(TestRunnerFacade facade, TestRunnerContext context) throws Throwable { facade.runTestMethodInEjbContext(new TestRunnerAnnotationHandler(method, description, context)); // facade.runTestMethodInEjbContext(method.getDeclaringClass().getName(), method.getName(), context); } }
@Override protected void doEvaluation(TestRunnerFacade facade, TestRunnerContext context) throws Throwable { facade.runTestMethodInEjbContext(new TestRunnerAnnotationHandler(method, description, context)); // facade.runTestMethodInEjbContext(method.getDeclaringClass().getName(), method.getName(), context); } }
@Override protected void doEvaluation(TestRunnerFacade facade, TestRunnerContext context) throws Throwable { TestRunnerAnnotationHandler handler = new TestRunnerAnnotationHandler(method, description, context); // Run the pre actions SystemPropertyTempSetter tempSetter = facade.runPreTestActionsInEjbContext(handler); try { // Run the test statement first. We'll only run the verifiers if the test statement succeeds testStatement.evaluate(); // Run the verifiers now facade.runPostTestActionsInEjbContext(handler); } finally { logger.debug("Cleaning up test run for context: " + handler.getUuid()); facade.cleanupTestRun(handler, tempSetter); } } }
@Override protected void doEvaluation(TestRunnerFacade facade, TestRunnerContext context) throws Throwable { TestRunnerAnnotationHandler handler = new TestRunnerAnnotationHandler(method, description, context); // Run the pre actions SystemPropertyTempSetter tempSetter = facade.runPreTestActionsInEjbContext(handler); try { // Run the test statement first. We'll only run the verifiers if the test statement succeeds testStatement.evaluate(); // Run the verifiers now facade.runPostTestActionsInEjbContext(handler); } finally { logger.debug("Cleaning up test run for context: " + handler.getUuid()); facade.cleanupTestRun(handler, tempSetter); } } }