org.jboss.arquillian.test.spi.event.suite
Class Before

java.lang.Object
  extended by org.jboss.arquillian.test.spi.event.suite.SuiteEvent
      extended by org.jboss.arquillian.test.spi.event.suite.ClassEvent
          extended by org.jboss.arquillian.test.spi.event.suite.TestEvent
              extended by org.jboss.arquillian.test.spi.event.suite.TestLifecycleEvent
                  extended by org.jboss.arquillian.test.spi.event.suite.Before
All Implemented Interfaces:
Event, LifecycleEvent

public class Before
extends TestLifecycleEvent

Event fired Before the Test method execution

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
Before(Object testInstance, Method testMethod)
           
Before(Object testInstance, Method testMethod, LifecycleMethodExecutor executor)
           
 
Method Summary
 
Methods inherited from class org.jboss.arquillian.test.spi.event.suite.TestLifecycleEvent
getExecutor
 
Methods inherited from class org.jboss.arquillian.test.spi.event.suite.TestEvent
getTestInstance, getTestMethod
 
Methods inherited from class org.jboss.arquillian.test.spi.event.suite.ClassEvent
getTestClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Before

public Before(Object testInstance,
              Method testMethod)
Parameters:
testInstance - The test case instance being tested
testMethod - The test method that is about to be executed

Before

public Before(Object testInstance,
              Method testMethod,
              LifecycleMethodExecutor executor)
Parameters:
testInstance - The test case instance being tested
testMethod - The test method that is about to be executed
executor - A call back when the LifecycleMethod represented by this event should be invoked


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.