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.ParameterizedClass
-
The display name to be used for individual invocations of the parameterized class; never blank or consisting solely of whitespace.
- 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 record class org.junit.platform.commons.support.DefaultResource
-
Returns the value of the
namerecord component. - 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
Namedbased on anameand apayload. - Named<T> - Interface in org.junit.jupiter.api
-
Namedis a container that associates a name with a given payload. - NamedExecutable - Interface in org.junit.jupiter.api
-
NamedExecutablejoinsExecutableandNamedin 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.
- Namespace - Class in org.junit.platform.engine.support.store
-
A
Namespaceis used to provide a scope for data saved by extensions within aNamespacedHierarchicalStore. - NAMESPACE - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
- NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
- NamespaceAwareStore(NamespacedHierarchicalStore<Namespace>, Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
- NamespacedHierarchicalStore<N> - Class in org.junit.platform.engine.support.store
-
NamespacedHierarchicalStoreis 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
NamespacedHierarchicalStoreis closed. - NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
-
Exception thrown by failed
NamespacedHierarchicalStoreoperations. - 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
-
@Nestedis 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. - NESTED_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- NestedClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedClassor class name enclosed in other classes so thatTestEnginescan discover tests or containers based on classes. - NestedClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor tests based on nested (but not static) Java classes. - NestedClassTestDescriptor(UniqueId, Class<?>, Supplier<List<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
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedCondition, its test descriptor is a container, and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedMethodor a combination of enclosing class names, class name, method name, and parameter types so thatTestEnginescan 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
Classby 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
Tby 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
contextshould 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 theTestWatcherAPI is not supported for@TestFactorycontainers. - nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
Invoke
testSuccessful(),testAborted(), ortestFailed()on each registeredTestWatcheraccording 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 theTestWatcherAPI is not supported for@TestFactorycontainers. - NONE - Enum constant in enum class org.junit.jupiter.params.ArgumentCountValidationMode
-
Use the "none" argument count validation mode.
- 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 - NOT_INNER - Enum constant in enum class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates.NestedClassInvalidityReason
- notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Stringis not blank. - notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Stringis not blank. - notEmpty(int[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
nullnor empty. - notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collectionis neithernullnor empty. - notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collectionis neithernullnor empty. - notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
nullnor empty. - notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
nullnor empty. - notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Objectis notnull. - notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Objectis notnull. - notSkipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfodoes not represent a skipped execution. - nullable() - Element in annotation interface org.junit.jupiter.params.converter.JavaTimeConversionPattern
-
Whether
nullargument values are allowed. - NullAndEmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@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.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
Objectto aStringusing the following algorithm. - 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(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.
- 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.
- NullSource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedClassor@ParameterizedTest. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
nullreferences. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
nullreferences. - 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