Deprecated API
Contents
- Classes
- Exception Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Annotation Interface Elements
-
Deprecated ClassesClassDescriptionas of JUnit Jupiter 5.7 in favor of
MethodOrderer.MethodName; to be removed in 6.0UseUnrecoverableExceptionsinstead.Please useEngineDiscoveryRequestResolverinstead.Useinstead.invalid reference
org.junit.platform.reporting.legacy.LegacyReportingUtilssince 1.8, in favor of the@Suitesupport provided by thejunit-platform-suite-enginemodule; to be removed in JUnit Platform 2.0
-
Deprecated Exception Classes
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince 1.8, in favor of the
@Suitesupport provided by thejunit-platform-suite-enginemodule; 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.as of JUnit Platform 1.9 in favor ofConfigurationParameters.keySet()since 1.10 in favor ofMethodSelector.getParameterTypeNames()since 1.10 in favor orNestedMethodSelector.getParameterTypeNames()Please useEngineDiscoveryRequestResolverinstead.Please useEngineDiscoveryRequestResolverinstead.Calling this method is no longer supported and will throw an exception.Please useEngineTestKit.Builder.filters(Filter...)instead.Please useEngineTestKit.execute(String, LauncherDiscoveryRequest)instead.Please useEngineTestKit.execute(TestEngine, LauncherDiscoveryRequest)instead.
-
Deprecated Constructors
-
Deprecated Annotation Interface Elements