Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
M
- MAC - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Apple Macintosh operating system (e.g., macOS).
- main(String...) - Static method in class org.junit.platform.console.ConsoleLauncher
- makeAccessible(Field) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Make the supplied field accessible via reflection.
- makeAccessible(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- makeAccessible(T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- map(Function<? super Event, ? extends R>) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().map(mapper)
. - map(Function<? super Execution, ? extends R>) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().map(mapper)
. - map(Function<String, ? extends T>, BiFunction<String, String, ? extends T>) - Method in interface org.junit.platform.commons.util.StringUtils.TwoPartSplitResult
-
Map the result of splitting a string into up to two parts.
- mapTwo(Supplier<? extends RuntimeException>, BiFunction<String, String, ? extends T>) - Method in interface org.junit.platform.commons.util.StringUtils.TwoPartSplitResult
-
Map the result of splitting a string into two parts or throw an exception.
- match(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test class using the stored class predicate.
- match(String) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test name using the stored name predicate.
- match(SelectorResolver.Match) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Match
. - MATCH_ALL - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match all patterns supplied via the
EnumSource.names()
attribute. - MATCH_ANY - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match any pattern supplied via the
EnumSource.names()
attribute. - MATCH_NONE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match none of the patterns supplied via the
EnumSource.names()
attribute. - matches() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfEnvironmentVariable.named()
environment variable. - matches() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfSystemProperty.named()
JVM system property. - matches() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfEnvironmentVariable.named()
environment variable. - matches() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfSystemProperty.named()
JVM system property. - matches(Set<SelectorResolver.Match>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Matches
. - max() - Element in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the upper boundary for the version range that determines if the annotated class or method should be disabled.
- max() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the upper boundary for the version range that determines if the annotated class or method should be enabled.
- maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The maximum number of characters allowed per CSV column.
- maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The maximum number of characters allowed per CSV column.
- mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- mayRegisterTests() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor may register dynamic tests during execution.
- mayReturnZeroTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Signal that this provider may provide zero invocation contexts in the supplied
context
. - message(Object) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the user-defined message of the assertion.
- message(String) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- message(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
Base class for
TestDescriptors
based on Java methods. - MethodDescriptor - Interface in org.junit.jupiter.api
-
MethodDescriptor
encapsulates functionality for a givenMethod
. - MethodFilter - Interface in org.junit.platform.launcher
-
PostDiscoveryFilter
that is applied to the fully qualifiedMethod
name without parameters. - MethodName() - Constructor for class org.junit.jupiter.api.MethodOrderer.MethodName
- MethodOrderer - Interface in org.junit.jupiter.api
-
MethodOrderer
defines the API for ordering the test methods in a given test class. - MethodOrderer.Alphanumeric - Class in org.junit.jupiter.api
-
Deprecated.
- MethodOrderer.DisplayName - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods alphanumerically based on their display names usingString.compareTo(String)
- MethodOrderer.MethodName - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods alphanumerically based on their names usingString.compareTo(String)
. - MethodOrderer.OrderAnnotation - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods based on the@Order
annotation. - MethodOrderer.Random - Class in org.junit.jupiter.api
-
MethodOrderer
that orders methods pseudo-randomly. - MethodOrdererContext - Interface in org.junit.jupiter.api
-
MethodOrdererContext
encapsulates the context in which aMethodOrderer
will be invoked. - MethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects aMethod
or a combination of class name, method name, and parameter types so thatTestEngines
can discover tests or containers based on methods. - MethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.AfterAll
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.AfterEach
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.BeforeAll
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.BeforeEach
- Section
- Method Signatures - Search tag in annotation interface org.junit.platform.suite.api.AfterSuite
- Section
- Method Signatures - Search tag in annotation interface org.junit.platform.suite.api.BeforeSuite
- Section
- MethodSource - Class in org.junit.platform.engine.support.descriptor
-
Method based
TestSource
. - MethodSource - Annotation Interface in org.junit.jupiter.params.provider
-
@MethodSource
is a repeatableArgumentsSource
which provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name. - MethodSources - Annotation Interface in org.junit.jupiter.params.provider
-
@MethodSources
is a simple container for one or moreMethodSource
annotations. - min() - Element in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the lower boundary for the version range that determines if the annotated class or method should be disabled.
- min() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the lower boundary for the version range that determines if the annotated class or method should be enabled.
- mode() - Element in annotation interface org.junit.jupiter.api.parallel.ResourceLock
-
The resource access mode.
- mode() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The enum constant selection mode.
- ModifierSupport - Class in org.junit.platform.commons.support
-
ModifierSupport
provides static utility methods for working with class and member modifiers — for example, to determine if a class or member is declared aspublic
,private
,abstract
,static
, etc. - ModuleSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a module name so thatTestEngines
can discover tests or containers based on modules. - ModuleSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- ModuleUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
java.lang.Module
and friends. - ModuleUtils() - Constructor for class org.junit.platform.commons.util.ModuleUtils
- Motivation for @Testable - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- MutableExtensionRegistry - Class in org.junit.jupiter.engine.extension
-
Default, mutable implementation of
ExtensionRegistry
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MethodOrderer.MethodName
; to be removed in 6.0