| Package | Description |
|---|---|
| org.junit.runners.model |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
TestClass.collectAnnotatedFieldValues(Object test,
Class<? extends Annotation> annotationClass,
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(Object test,
Class<? extends Annotation> annotationClass,
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.
|
Copyright © 2002–2020 JUnit. All rights reserved.