org.jboss.arquillian.impl.context
Class TestContext
java.lang.Object
org.jboss.arquillian.impl.context.AbstractEventContext
org.jboss.arquillian.impl.context.TestContext
- All Implemented Interfaces:
- Context
public class TestContext
- extends AbstractEventContext
A TestContext is alive in the following life cycles:
Used for firing events and storing of object that live in the Test Scope.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestContext
public TestContext(ClassContext classContext)
- Create a new TestContext for a given
ClassContext.
- Parameters:
classContext - The parent ClassContext
- Throws:
IllegalArgumentException - if classContext is null
getClassContext
public ClassContext getClassContext()
- Returns:
- The parent ClassContext
getParentContext
public Context getParentContext()
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.