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.support.scanning.ClassFilter
-
Test the given class using the stored class predicate.
- match(String) - Method in class org.junit.platform.commons.support.scanning.ClassFilter
-
Test the given 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, specified as a
JREenum constant. - max() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
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 enabled, specified as a
JREenum constant. - 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.
- maxVersion() - 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, specified as an integer.
- maxVersion() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
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 enabled, specified as an integer.
- mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- 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.
- mayReturnZeroClassTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ClassTemplateInvocationContextProvider
-
Signal that this provider may provide zero invocation contexts for the class template represented by the supplied
context. - mayReturnZeroTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Signal that this provider may provide zero invocation contexts for the test template method represented by the supplied
context. - MediaType - Class in org.junit.jupiter.api.extension
-
Represents a media type as defined by RFC 2045.
- message() - Method in interface org.junit.platform.engine.DiscoveryIssue
-
Returns the message of this issue.
- 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
- Method Arguments - Search tag in annotation interface org.junit.jupiter.params.AfterParameterizedClassInvocation
- Section
- Method Arguments - Search tag in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Section
- MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
Base class for
TestDescriptorsbased on Java methods. - MethodDescriptor - Interface in org.junit.jupiter.api
-
MethodDescriptorencapsulates functionality for a givenMethod. - MethodFilter - Interface in org.junit.platform.launcher
-
PostDiscoveryFilterthat is applied to the fully qualifiedMethodname without parameters. - MethodName() - Constructor for class org.junit.jupiter.api.MethodOrderer.MethodName
- MethodOrderer - Interface in org.junit.jupiter.api
-
MethodOrdererdefines the API for ordering the test methods in a given test class. - MethodOrderer.DisplayName - Class in org.junit.jupiter.api
-
MethodOrdererthat sorts methods alphanumerically based on their display names usingString.compareTo(String) - MethodOrderer.MethodName - Class in org.junit.jupiter.api
-
MethodOrdererthat sorts methods alphanumerically based on their names usingString.compareTo(String). - MethodOrderer.OrderAnnotation - Class in org.junit.jupiter.api
-
MethodOrdererthat sorts methods based on the@Orderannotation. - MethodOrderer.Random - Class in org.junit.jupiter.api
-
MethodOrdererthat orders methods pseudo-randomly. - MethodOrdererContext - Interface in org.junit.jupiter.api
-
MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked. - MethodReflectionUtils - Class in org.junit.jupiter.engine.support
- MethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aMethodor a combination of class name, method name, and parameter types so thatTestEnginescan 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.jupiter.params.AfterParameterizedClassInvocation
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.params.BeforeParameterizedClassInvocation
- 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
-
@MethodSourceis a repeatableArgumentsSourcewhich 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
-
@MethodSourcesis a simple container for one or moreMethodSourceannotations. - 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, specified as a
JREenum constant. - min() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
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 enabled, specified as a
JREenum constant. - minVersion() - 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, specified as an integer.
- minVersion() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
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 enabled, specified as an integer.
- 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
-
ModifierSupportprovides 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
DiscoverySelectorthat selects a module name so thatTestEnginescan 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.Moduleand friends. - 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