Uses of Interface
org.junit.runners.model.MemberValueConsumer

 

 

Methods in org.junit.runners.model with parameters of type MemberValueConsumer
<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–2021 JUnit. All rights reserved.