Package | Description |
---|---|
org.junit.runners |
Provides standard
Runner implementations. |
org.junit.runners.model |
Modifier and Type | Class and Description |
---|---|
private static class |
BlockJUnit4ClassRunner.RuleCollector<T> |
private static class |
ParentRunner.ClassRuleCollector |
Modifier and Type | Method and Description |
---|---|
<T> void |
TestClass.collectAnnotatedFieldValues(java.lang.Object test,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<T> valueClass,
MemberValueConsumer<T> consumer)
Finds the fields annotated with the specified annotation and having the specified type,
retrieves the values and passes those to the specified consumer.
|
<T> void |
TestClass.collectAnnotatedMethodValues(java.lang.Object test,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<T> valueClass,
MemberValueConsumer<T> consumer)
Finds the methods annotated with the specified annotation and returning the specified type,
invokes it and pass the return value to the specified consumer.
|