org.jboss.arquillian.spi
Interface TestEnricher


public interface TestEnricher

SPI used to enrich the runtime test object.

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 void enrich(Context context, Object testCase)
          Extension point to add features to the a Test class instance.
 Object[] resolve(Context context, Method method)
          Extension point to add features to the test method arguments.
 

Method Detail

enrich

void enrich(Context context,
            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(Context context,
                 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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.