Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionPlease use
ParameterInfoinsteadPlease implementOutputDirectoryCreatorinstead
-
Deprecated ClassesClassDescriptionPlease use
EngineDiscoveryRequestResolverinstead.Please useThrowableCollector.execute(ThrowableCollector.Executable)andThrowableCollector.toTestExecutionResult()instead.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 Annotation TypesAnnotation TypeDescriptionsince 1.8, in favor of the
@Suitesupport provided by thejunit-platform-suite-enginemodule; to be removed in JUnit Platform 2.0
-
Deprecated FieldsFieldDescriptionPlease reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.DEFAULT_DISPLAY_NAMEinstead.Please referenceParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.INDEX_PLACEHOLDERinstead.Please useParameterInfo.KEYinsteadPlease useParameterInfo.NAMESPACEinstead
-
Deprecated MethodsMethodDescriptionPlease implement
AnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext, Annotation)instead.Please implementArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext)instead.Please useParameterInfo.get(ExtensionContext)insteadas of JUnit Platform 1.9 in favor ofConfigurationParameters.keySet()Please use {ClasspathResourceSelector.getResources()} instead.Please useDiscoverySelectors.selectClasspathResourceByName(Set)instead.since 1.10 in favor ofMethodSelector.getParameterTypeNames()since 1.10 in favor orNestedMethodSelector.getParameterTypeNames()Please useEngineDiscoveryRequest.getOutputDirectoryCreator()insteadwithout replacementPlease useExecutionRequest.getOutputDirectoryCreator()insteadPlease useEngineDiscoveryRequestResolverinstead.Please useEngineDiscoveryRequestResolverinstead.Calling this method is no longer supported and will throw an exception.Please useTestPlan.getOutputDirectoryCreator()insteadas of JUnit Platform 1.11 in favor ofSuiteLauncherDiscoveryRequestBuilder.applyConfigurationParametersFromSuite(Class)andSuiteLauncherDiscoveryRequestBuilder.applySelectorsAndFiltersFromSuite(Class)Please useEngineTestKit.Builder.filters(Filter...)instead.Please useEngineTestKit.Builder.outputDirectoryCreator(OutputDirectoryCreator)insteadPlease useEngineTestKit.execute(String, LauncherDiscoveryRequest)instead.Please useEngineTestKit.execute(TestEngine, LauncherDiscoveryRequest)instead.
-
Deprecated ConstructorsConstructorDescriptionwithout replacement because it's an internal API.
-
Deprecated Annotation Type ElementsAnnotation Type ElementDescriptionPlease reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.DEFAULT_DISPLAY_NAMEinstead.Please referenceParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDERinstead.Please referenceParameterizedInvocationConstants.INDEX_PLACEHOLDERinstead.