public class Java8TestClass extends org.junit.runners.model.TestClass
Constructor | Description |
---|---|
Java8TestClass(Class<?> klass) |
Creates a
TestClass wrapping klass . |
getClass, notify, notifyAll, toString, wait, wait, wait
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–2017. All rights reserved.