public class Java8TestClass extends org.junit.runners.model.TestClass
Constructor and Description |
---|
Java8TestClass(Class<?> klass)
Creates a
TestClass wrapping klass . |
equals, getAnnotatedFields, getAnnotatedFields, getAnnotatedFieldValues, getAnnotatedMethods, getAnnotatedMethods, getAnnotatedMethodValues, getAnnotation, getAnnotations, getJavaClass, getName, getOnlyConstructor, hashCode, isANonStaticInnerClass, isPublic
public Java8TestClass(Class<?> klass)
TestClass
wrapping klass
. Each time this
constructor executes, the class is scanned for annotations, which can be
an expensive process (we hope in future JDK's it will not be.) Therefore,
try to share instances of TestClass
where possible.Copyright © 2004–2016. All rights reserved.