Deprecated API
Contents
-
Deprecated ClassesClassDescriptionas of JUnit Jupiter 5.7 in favor of
MethodOrderer.MethodName
; to be removed in 6.0UseUnrecoverableExceptions
instead.Please useEngineDiscoveryRequestResolver
instead.UseLegacyReportingUtils
instead.since 1.8, in favor of the@Suite
support provided by thejunit-platform-suite-engine
module; to be removed in JUnit Platform 2.0
-
Deprecated Exception Classes
-
Deprecated Annotation TypesAnnotation TypeDescriptionsince 1.8, in favor of the
@Suite
support provided by thejunit-platform-suite-engine
module; to be removed in JUnit Platform 2.0
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionPlease use
ReflectionSupport.tryToLoadClass(String)
instead.Please useReflectionUtils.tryToGetMethod(Class, String, Class[])
instead.Please discontinue use of this method since it relies on internal implementation details of the JDK that may not work in the future.Please useReflectionUtils.tryToLoadClass(String)
instead.Please useReflectionUtils.tryToLoadClass(String, ClassLoader)
instead.Please useReflectionUtils.tryToReadFieldValue(Class, String, Object)
instead.Please useReflectionUtils.tryToReadFieldValue(Field)
instead.Please useReflectionUtils.tryToReadFieldValue(Field, Object)
instead.Please useEngineDiscoveryRequestResolver
instead.Please useEngineDiscoveryRequestResolver
instead.Calling this method is no longer supported and will throw an exception.
-
Deprecated Constructors