| Since | Terminally Deprecated Item and Description |
|---|---|
| 5.14 | org.
the file to be published; never file, MediaType nullthe media type of the file; never mediaType)null; use
org.
if unknownUse |
| 5.14 | org.
the name of the file to be published; never name, MediaType null or
blank and must not contain any path separatorsthe media type of the file; never mediaType, ThrowingConsumer<Path> null; use
org.
if unknownthe action to be executed to write the file; never action)nullUse |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 6.0 | org.
No longer supported at runtime; please use |
| 5.14 | org.
the name of the file to be published; never name, MediaType null or
blank and must not contain any path separatorsthe media type of the file; never mediaType, ThrowingConsumer<Path> null; use
org.
if unknownthe action to be executed to write the file; never action)nullUse
|
| 5.14 | |
org.
Released in junit-jupiter-migrationsupport 6.0.1. Please migrate to the corresponding APIs and extensions provided by JUnit Jupiter. | |
| 6.0 | org.
Please migrate to Jupiter extensions and use
|
| 6.0 | org.
Please use |
| 6.0 | org.
Please migrate to Jupiter extensions. |
| 6.0 | |
| 6.0 | org.
Please use |
| 6.0 | |
| 5.14 | |
| 5.14 | |
| 5.14 | |
| 5.14 | Returns: the closestParameterInfo instance for the supplied
ExtensionContext; potentially nullPlease use
|
| 1.14 | Returns: an immutable list of all such resources found; nevernull
but potentially emptythe URI for the classpath root in which to scan; never
root, Predicate<Resource> nullthe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: an immutable list of all such resources found; nevernull
but potentially emptythe name of the module to scan; never moduleName, Predicate<Resource> null or
emptythe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: an immutable list of all such classes found; nevernull
but potentially emptythe name of the base package in which to start
scanning; must not be basePackageName, Predicate<Resource> null and must be valid in terms of Java
syntaxthe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: a stream of all such classes found; nevernull
but potentially emptythe URI for the classpath root in which to scan; never
root, Predicate<Resource> nullthe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: a stream of all such resources found; nevernull
but potentially emptythe name of the module to scan; never moduleName, Predicate<Resource> null or
emptythe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: a stream of all such resources found; nevernull
but potentially emptythe name of the base package in which to start
scanning; must not be basePackageName, Predicate<Resource> null and must be valid in terms of Java
syntaxthe resource type filter; never resourceFilter)nullPlease use |
| 1.14 | Returns: a successfulTry containing the set of loaded resources
(potentially empty) or a failed Try containing the exception in
case a failure occurred while trying to list resources; never
nullthe name of the resource to load; never
classpathResourceName)null or blankPlease use |
| 1.14 | Returns: a successfulTry containing the set of loaded resources
(potentially empty) or a failed Try containing the exception in
case a failure occurred while trying to list resources; never
nullthe name of the resource to load; never
classpathResourceName, ClassLoader null or blankthe classLoader)ClassLoader to use; never nullPlease use |
| 1.14 | |
| 1.14 | Returns: a list of all such resources found; nevernull
but potentially emptythe URI for the classpath root in which to scan; never
root, Predicate<Resource> nullthe resource type filter; never resourceFilter)nullPlease implement
|
| 1.14 | Returns: a list of all such resources found; nevernull
but potentially emptythe name of the base package in which to start
scanning; must not be basePackageName, Predicate<Resource> null and must be valid in terms of Java
syntaxthe resource type filter; never resourceFilter)nullPlease implement
|
| 1.14 | Returns: the output directory provider; nevernullPlease use |
| 1.14 | Returns: theorg. for
this request for writing reports and other output filesPlease use |
| 6.0 | org.
the filter to be adapted adaptee, Function<T, V> the converter function to apply converter)without replacement |
| 1.14 | |
| 1.14 | org.
a set of classpath resources; never
classpathResources)null or empty. All resources must have the same name, may not
be null or blank.Please use |
| 1.14 | org.
Please implement |
| 1.14 | Returns: this builder for method chainingpredicate the resolved classes must satisfy; never
resourceFilter)nullPlease use |
| 1.14 | Returns: the output directory provider; nevernullPlease use |
| 1.14 | Returns: this builder for method chainingthe output directory provider to use;
never outputDirectoryProvider)nullPlease use
|
| 1.14 | Returns: this builder for method chainingthe output directory provider to use;
never outputDirectoryProvider)nullPlease use
|
| Since | Deprecated Item and Description |
|---|---|
| 5.12 | Returns: the display name for the test; never blankthe class the test method is invoked on; never testClass, Method nullmethod to generate a display name for; never testMethod)nullin favor of |
| 5.12 | Returns: the display name for the nested class; never blankthe class to generate a name for; never nestedClass)nullin favor of |
| 5.12 | |
| 5.13 | org.
Please extend |
| 6.0 | Returns: the object; nevernullthe type of object to retrieve; never type)nullPlease use |
| 6.0 | Returns: the value; potentiallynullthe key; never key, Function<? super K, ? extends V> nullthe function called with the supplied defaultCreator)key
to create a new value; never null but may return nullPlease use |
| 6.0 | Returns: the value; potentiallynullthe key; never key, Function<? super K, ? extends V> nullthe function called with the supplied defaultCreator, Class<V> key
to create a new value; never null but may return nullthe required type of the value; never requiredType)nullPlease use |
| 5.14 | |
| 5.12 | org.
This behavior will be removed from future versions of
JUnit, and |
| 5.13 | |
| 5.13 | |
| 5.13 | |
| 5.13 | |
| 5.13 | |
| 5.13 | |
| 5.13 | |
| 5.13 | Returns: a stream of arguments; nevernullthe current extension context; never context, A nullthe annotation to process; never annotation)nullPlease implement
|
| 5.13 | Returns: a stream of arguments; nevernullthe current extension context; never context)nullPlease implement
|
| 1.12 | Returns: anOptional containing the annotation; never null but
potentially emptythe class on which to search for the annotation; may be clazz, Class<A> nullthe annotation type to search for; never annotationType, SearchOption nullthe searchOption)SearchOption to use; never nullUse |
| 1.12 | org.
because there is only a single non-deprecated search option left |
| 1.12 | org.
because it is preferable to inspect the runtime enclosing types of a class rather than where they are declared. |
| 1.11 | org.
without replacement because it's an internal API. |
| 1.11 | Returns: a newExecutionRequest; never nullthe engine's root rootTestDescriptor, EngineExecutionListener TestDescriptorthe engineExecutionListener, ConfigurationParameters EngineExecutionListener to be
notified of test execution eventsConfigurationParameters that the
engine may use to influence test executionwithout replacement |
| 6.0 | Returns: the stored value; may benullthe namespace; never namespace, K nullthe key; never key, Function<? super K, ? extends V> nullthe function called with the supplied defaultCreator)key
to create a new value; never null but may return nullPlease use |
| 6.0 | Returns: the stored value; may benullthe namespace; never namespace, K nullthe key; never key, Function<? super K, ? extends V> nullthe function called with the supplied defaultCreator, Class<V> key
to create a new value; never null but may return nullthe required type of the value; never requiredType)nullPlease use |
| 1.10 | Returns: the identifier with the supplied unique ID; nevernullthe unique ID to look up the identifier for; never
uniqueId)null or blankUse |
| 6.0 | org.
Should only be used temporarily while migrating tests to JUnit Jupiter or another testing framework with native JUnit Platform support |
| 6.0 | org.
Should only be used temporarily while migrating tests to JUnit Jupiter or another testing framework with native JUnit Platform support |
| Since | Item with Deprecated Reference and Description |
|---|---|
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
Returns: the media typethe type; never type, String null or blankthe subtype; never subtype)null or blank
| |
Returns: the media typethe type; never type, String null or blankthe subtype; never subtype, Charset null or blankthe charset; never charset)null
| |
Returns: the parsed media typethe media type value to parse; never value)null or blank
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
Returns: a newResourcethe resource to copy attributes from; never resource)null
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
| |
org.
|