org.jboss.arquillian.test.impl.enricher.resource
Class ArquillianResourceTestEnricher

java.lang.Object
  extended by org.jboss.arquillian.test.impl.enricher.resource.ArquillianResourceTestEnricher
All Implemented Interfaces:
TestEnricher

public class ArquillianResourceTestEnricher
extends Object
implements TestEnricher

ArquillianTestEnricher

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ArquillianResourceTestEnricher()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArquillianResourceTestEnricher

public ArquillianResourceTestEnricher()
Method Detail

enrich

public void enrich(Object testCase)
Description copied from interface: TestEnricher
Extension point to add features to the a Test class instance.

IE. Instance field injection

Specified by:
enrich in interface TestEnricher
Parameters:
testCase - The test case instance

resolve

public Object[] resolve(Method method)
Description copied from interface: TestEnricher
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.

Specified by:
resolve in interface TestEnricher
Returns:
A Object[] of Arguments


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