Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
N
- name() - Element in annotation interface org.junit.jupiter.api.RepeatedTest
-
The display name for each repetition of the repeated test.
- name() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
- name() - Method in class org.junit.platform.console.ConsoleLauncherToolProvider
- name() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The name of the method to select; never blank unless
SelectMethod.value()
is used. - named() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- named(String, T) - Static method in interface org.junit.jupiter.api.Named
-
Factory method for creating an instance of
Named
based on aname
and apayload
. - Named<T> - Interface in org.junit.jupiter.api
-
Named
is a container that associates a name with a given payload. - NamedExecutable - Interface in org.junit.jupiter.api
-
NamedExecutable
joinsExecutable
andNamed
in a one self-typed functional interface. - names() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.
- names() - Element in annotation interface org.junit.platform.suite.api.SelectClasses
-
One or more classes to select by their fully qualified names.
- NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
- NamespaceAwareStore(NamespacedHierarchicalStore<ExtensionContext.Namespace>, ExtensionContext.Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
- NamespacedHierarchicalStore<N> - Class in org.junit.platform.engine.support.store
-
NamespacedHierarchicalStore
is a hierarchical, namespaced key-value store. - NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent.
- NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>, NamespacedHierarchicalStore.CloseAction<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent and close action.
- NamespacedHierarchicalStore.CloseAction<N> - Interface in org.junit.platform.engine.support.store
-
Called for each successfully stored non-null value in the store when a
NamespacedHierarchicalStore
is closed. - NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
-
Exception thrown by failed
NamespacedHierarchicalStore
operations. - NamespacedHierarchicalStoreException(String) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- NamespacedHierarchicalStoreException(String, Throwable) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- Nested - Annotation Interface in org.junit.jupiter.api
-
@Nested
is used to signal that the annotated class is a nested, non-static test class (i.e., an inner class) that can share setup and state with an instance of its enclosing class. - NestedClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a nestedClass
or class name enclosed in other classes so thatTestEngines
can discover tests or containers based on classes. - NestedClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for tests based on nested (but not static) Java classes. - NestedClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- nestedContainer(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's test descriptor is a container and its unique id contains the simple names of the suppliedClass
and all of its enclosing classes. - nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
matches the suppliedCondition
, its test descriptor is a container, and its unique id contains the simple names of the suppliedClass
and all of its enclosing classes. - NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a nestedMethod
or a combination of enclosing classes names, class name, method name, and parameter types so thatTestEngines
can discover tests or containers based on methods. - NestedMethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- NEVER - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Never clean up a temporary directory after the test has completed.
- newChild() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a child store with this store as its parent and this store's close action.
- newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Create a new instance of the specified
Class
by invoking the constructor whose argument list matches the types of the supplied arguments. - newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- newInstance(Constructor<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Create a new instance of type
T
by invoking the supplied constructor with the supplied arguments. - Node<C> - Interface in org.junit.platform.engine.support.hierarchical
-
A node within the execution hierarchy.
- Node.DynamicTestExecutor - Interface in org.junit.platform.engine.support.hierarchical
-
Executor for additional, dynamic test descriptors discovered during execution of a
Node
. - Node.ExecutionMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
Supported execution modes for parallel execution.
- Node.Invocation<C> - Interface in org.junit.platform.engine.support.hierarchical
-
Represents an invocation that runs with the supplied context.
- Node.SkipResult - Class in org.junit.platform.engine.support.hierarchical
-
The result of determining whether the execution of a given
context
should be skipped. - nodeFinished(C, TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has finished.
- nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
TestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers. - nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
Invoke
testSuccessful()
,testAborted()
, ortestFailed()
on each registeredTestWatcher
according to the status of the suppliedTestExecutionResult
, in reverse registration order. - nodeSkipped(C, TestDescriptor, Node.SkipResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has been skipped.
- nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
Invoke
TestWatcher.testDisabled(ExtensionContext, Optional)
on each registeredTestWatcher
, in registration order. - nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
MethodBasedTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers. - NONE - Enum constant in enum class org.junit.platform.console.options.Details
-
No test plan execution details are printed.
- NOOP - Static variable in interface org.junit.platform.engine.EngineDiscoveryListener
-
No-op implementation of
EngineDiscoveryListener
- NOOP - Static variable in interface org.junit.platform.engine.EngineExecutionListener
-
No-op implementation of
EngineExecutionListener
- NOOP - Static variable in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
No-op implementation of
LauncherDiscoveryListener
- NOOP - Static variable in interface org.junit.platform.launcher.LauncherSessionListener
-
No-op implementation of
LauncherSessionListener
- notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
String
is not blank. - notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
String
is not blank. - notEmpty(int[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collection
is neithernull
nor empty. - notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collection
is neithernull
nor empty. - notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Object
is notnull
. - notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Object
is notnull
. - notSkipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
does not represent a skipped execution. - NullAndEmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullAndEmptySource
is a composed annotation that combines the functionality of@NullSource
and@EmptySource
. - NullEnum - Enum Class in org.junit.jupiter.params.provider
-
Dummy enum class used as default value for optional attributes of annotations.
- nullSafeToString(Class<?>) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Get the fully qualified name of the supplied class.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied
Object
to aString
using the following algorithm. - nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of mapped values for the supplied classes.
- nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of mapped values for the supplied classes.
- NullSource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullSource
is anArgumentsSource
which provides a singlenull
argument to the annotated@ParameterizedTest
method. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
null
references. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
null
references. - numLinesToSkip() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The number of lines to skip when reading the CSV files.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form