org.jboss.arquillian.test.spi
Interface TestEnricher

All Known Implementing Classes:
ArquillianResourceTestEnricher, EJBInjectionEnricher, ResourceInjectionEnricher

public interface TestEnricher

SPI used to enrich the runtime test object.

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 void enrich(Object testCase)
          Extension point to add features to the a Test class instance.

IE.
 Object[] resolve(Method method)
          Extension point to add features to the test method arguments.

IE.
 

Method Detail

enrich

void enrich(Object testCase)
Extension point to add features to the a Test class instance.

IE. Instance field injection

Parameters:
testCase - The test case instance

resolve

Object[] resolve(Method method)
Extension point to add features to the test method arguments.

IE. Argument injection

The return value Object[] must match the Field[] indexes. Leave Object[] index as null if it can't be handled by this TestEnricher.

Parameters:
method -
Returns:
A Object[] of Arguments


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