Uses of Interface
org.junit.runners.model.MemberValueConsumer
-
Packages that use MemberValueConsumer Package Description org.junit.runners.model -
-
Uses of MemberValueConsumer in org.junit.runners.model
Methods in org.junit.runners.model with parameters of type MemberValueConsumer Modifier and Type Method 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.
-