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

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
All Implemented Interfaces:
Event
Direct Known Subclasses:
Test, TestLifecycleEvent

public class TestEvent
extends ClassEvent

Base for events fired in the Test execution cycle.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
TestEvent(Object testInstance, Method testMethod)
           
 
Method Summary
 Object getTestInstance()
           
 Method 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

TestEvent

public TestEvent(Object testInstance,
                 Method testMethod)
Parameters:
testInstance - The test case instance
testMethod - The test method
Throws:
IllegalArgumentException - if testInstance is null
IllegalArgumentException - if testMethod is null
Method Detail

getTestInstance

public Object getTestInstance()

getTestMethod

public Method getTestMethod()


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