|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.exam.junit.internal.DefaultConfigMethod
public class DefaultConfigMethod
Configuration methodmarked with Configuration
and RequiresConfiguration
annotations.
Constructor Summary | |
---|---|
DefaultConfigMethod(java.lang.reflect.Method configMethod,
java.lang.Object configInstance)
Constructor. |
Method Summary | |
---|---|
Option[] |
getOptions()
Returns the configuration options for this configuration method. |
boolean |
matches(java.lang.reflect.Method method)
Matches a test method name against this configuration method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfigMethod(java.lang.reflect.Method configMethod, java.lang.Object configInstance)
configMethod
- configuration method (cannot be null)configInstance
- instance of the class containing the test method.
If null then the method is supposed to be static.
java.lang.IllegalArgumentException
- - If method is nullMethod Detail |
---|
public boolean matches(java.lang.reflect.Method method)
matches
in interface JUnit4ConfigMethod
method
- test method name (cannot be null or empty)
java.lang.IllegalArgumentException
- - If method name is null or emptypublic Option[] getOptions() throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException
getOptions
in interface JUnit4ConfigMethod
java.lang.IllegalAccessException
- - Re-thrown, from invoking the configuration method via reflection
java.lang.reflect.InvocationTargetException
- - Re-thrown, from invoking the configuration method via reflection
java.lang.InstantiationException
- - Re-thrown, from invoking the configuration method via reflection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |