@API(status=EXPERIMENTAL,
since="5.4")
public interface MethodOrdererContext
MethodOrdererContext encapsulates the context in which
a MethodOrderer will be invoked.MethodOrderer,
MethodDescriptor| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getConfigurationParameter(String key)
Get the configuration parameter stored under the specified
key. |
List<? extends MethodDescriptor> |
getMethodDescriptors()
Get the list of method descriptors to
order.
|
Class<?> |
getTestClass()
Get the test class for this context.
|
Class<?> getTestClass()
nullList<? extends MethodDescriptor> getMethodDescriptors()
nullOptional<String> getConfigurationParameter(String key)
key.
If no such key is present in the ConfigurationParameters for
the JUnit Platform, an attempt will be made to look up the value as a
JVM system property. If no such system property exists, an attempt will
be made to look up the value in the JUnit Platform properties file.
key - the key to look up; never null or blankOptional containing the value; never null
but potentially emptySystem.getProperty(String),
ConfigurationParametersCopyright © 2024. All rights reserved.