org.ops4j.pax.exam.junit
Interface JUnit4ConfigMethods

All Known Implementing Classes:
AnnotatedWithConfiguration

public interface JUnit4ConfigMethods

Configuration strategy. Finds configuration methods.

Since:
0.3.0, February 03, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Method Summary
 java.util.Collection<? extends JUnit4ConfigMethod> getConfigMethods(org.junit.internal.runners.TestClass testClass, java.lang.Object testInstance)
          Returns configuration methods determined by this strategy.
 

Method Detail

getConfigMethods

java.util.Collection<? extends JUnit4ConfigMethod> getConfigMethods(org.junit.internal.runners.TestClass testClass,
                                                                    java.lang.Object testInstance)
                                                                    throws java.lang.Exception
Returns configuration methods determined by this strategy.

Parameters:
testClass - the test class
testInstance - an instance of the test class
Returns:
configuration options (cannot be null, but can be empty)
Throws:
java.lang.Exception - - If finding configuration methods fails


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.