Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
O
- of(Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Arguments
based on the suppliedarguments
. - of(String, T) - Static method in interface org.junit.jupiter.api.Named
-
Factory method for creating an instance of
Named
based on aname
and apayload
. - of(Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilter
instance that accepts all names but filters classes. - of(Predicate<String>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilter
instance that filters by names and classes. - of(TestInstances, Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- ofVoid(InvocationInterceptorChain.VoidInterceptorCall) - Static method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptorCall
- ofVoidMethod(InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall) - Static method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall
- ON_SUCCESS - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Only clean up a temporary directory if the test completed successfully.
- OPENBSD - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
OpenBSD operating system.
- openSession() - Static method in class org.junit.platform.launcher.core.LauncherFactory
- openSession(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
-
Factory method for opening a new
LauncherSession
using the suppliedLauncherConfig
. - OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Specialization of
ThrowableCollector
that treats instances ofTestAbortedException
as aborting. - OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
- OpenTestReportGeneratingListener - Class in org.junit.platform.reporting.open.xml
-
Open Test Reporting events XML generating test execution listener.
- OpenTestReportGeneratingListener() - Constructor for class org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener
- Order - Annotation Interface in org.junit.jupiter.api
-
@Order
is an annotation that is used to configure the order in which the annotated element (i.e., field, method, or class) should be evaluated or executed relative to other elements of the same category. - OrderAnnotation() - Constructor for class org.junit.jupiter.api.ClassOrderer.OrderAnnotation
- OrderAnnotation() - Constructor for class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
- orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.ClassName
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
alphanumerically based on their fully qualified names. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.DisplayName
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
alphanumerically based on their display names. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.OrderAnnotation
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
based on the@Order
annotation. - orderClasses(ClassOrdererContext) - Method in interface org.junit.jupiter.api.ClassOrderer
-
Order the classes encapsulated in the supplied
ClassOrdererContext
. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.Random
-
Order the classes encapsulated in the supplied
ClassOrdererContext
pseudo-randomly. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.DisplayName
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
alphanumerically based on their display names. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.MethodName
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
alphanumerically based on their names and formal parameter lists. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
based on the@Order
annotation. - orderMethods(MethodOrdererContext) - Method in interface org.junit.jupiter.api.MethodOrderer
-
Order the methods encapsulated in the supplied
MethodOrdererContext
. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Random
-
Order the methods encapsulated in the supplied
MethodOrdererContext
pseudo-randomly. - orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the supplied supplier and return the resultingTry
; if thisTry
is a success, do nothing. - orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the supplied action and return a new successful or failedTry
depending on the action's outcome; if thisTry
is a success, do nothing. - org.junit.jupiter - module org.junit.jupiter
-
Aggregates all JUnit Jupiter modules.
- org.junit.jupiter.api - module org.junit.jupiter.api
-
Defines JUnit Jupiter API for writing tests.
- org.junit.jupiter.api - package org.junit.jupiter.api
-
JUnit Jupiter API for writing tests.
- org.junit.jupiter.api.condition - package org.junit.jupiter.api.condition
-
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
- org.junit.jupiter.api.extension - package org.junit.jupiter.api.extension
-
JUnit Jupiter API for writing extensions.
- org.junit.jupiter.api.extension.support - package org.junit.jupiter.api.extension.support
-
JUnit Jupiter API support for writing extensions.
- org.junit.jupiter.api.function - package org.junit.jupiter.api.function
-
Functional interfaces used within JUnit Jupiter.
- org.junit.jupiter.api.io - package org.junit.jupiter.api.io
-
IO-related support in JUnit Jupiter.
- org.junit.jupiter.api.parallel - package org.junit.jupiter.api.parallel
-
JUnit Jupiter API for influencing parallel test execution.
- org.junit.jupiter.engine - module org.junit.jupiter.engine
-
Provides the JUnit Jupiter TestEngine implementation.
- org.junit.jupiter.engine - package org.junit.jupiter.engine
-
Core package for the JUnit Jupiter test engine.
- org.junit.jupiter.engine.config - package org.junit.jupiter.engine.config
-
Configuration specific to the JUnit Jupiter test engine.
- org.junit.jupiter.engine.descriptor - package org.junit.jupiter.engine.descriptor
-
Test descriptors used within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.discovery - package org.junit.jupiter.engine.discovery
-
Internal classes for test discovery within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.discovery.predicates - package org.junit.jupiter.engine.discovery.predicates
-
Internal predicate classes used by test discovery within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.execution - package org.junit.jupiter.engine.execution
-
Internal classes for test execution within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.extension - package org.junit.jupiter.engine.extension
-
Test extensions specific to the JUnit Jupiter test engine.
- org.junit.jupiter.engine.support - package org.junit.jupiter.engine.support
-
Internal support classes for the JUnit Jupiter test engine.
- org.junit.jupiter.migrationsupport - module org.junit.jupiter.migrationsupport
-
Support for migrating from JUnit 4 to JUnit Jupiter.
- org.junit.jupiter.migrationsupport - package org.junit.jupiter.migrationsupport
-
Support for migrating from JUnit 4 to JUnit Jupiter.
- org.junit.jupiter.migrationsupport.conditions - package org.junit.jupiter.migrationsupport.conditions
-
Extensions which provide support for conditional test execution features of JUnit 4 (e.g., the
@Ignore
annotation) within JUnit Jupiter. - org.junit.jupiter.migrationsupport.rules - package org.junit.jupiter.migrationsupport.rules
-
Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.
- org.junit.jupiter.migrationsupport.rules.adapter - package org.junit.jupiter.migrationsupport.rules.adapter
-
Simple wrappers for JUnit 4 rules to overcome visibility limitations of the JUnit 4 implementations.
- org.junit.jupiter.migrationsupport.rules.member - package org.junit.jupiter.migrationsupport.rules.member
-
Abstractions for members which can be targets of JUnit 4 rule annotations.
- org.junit.jupiter.params - module org.junit.jupiter.params
-
JUnit Jupiter extension for parameterized tests.
- org.junit.jupiter.params - package org.junit.jupiter.params
-
JUnit Jupiter extension for parameterized tests.
- org.junit.jupiter.params.aggregator - package org.junit.jupiter.params.aggregator
- org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
-
ArgumentConverter
implementations and the corresponding@ConvertWith
annotation. - org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
ArgumentsProvider
implementations and their correspondingArgumentsSource
annotations. - org.junit.jupiter.params.support - package org.junit.jupiter.params.support
-
Support classes for building providers and converters for arguments.
- org.junit.platform.commons - module org.junit.platform.commons
-
Common APIs and support utilities for the JUnit Platform.
- org.junit.platform.commons - package org.junit.platform.commons
-
Common APIs and support utilities for the JUnit Platform.
- org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
-
Common annotations for the JUnit Platform.
- org.junit.platform.commons.function - package org.junit.platform.commons.function
-
Maintained functional interfaces and support classes.
- org.junit.platform.commons.logging - package org.junit.platform.commons.logging
-
Internal logging package.
- org.junit.platform.commons.support - package org.junit.platform.commons.support
-
Maintained common support APIs provided by the JUnit Platform.
- org.junit.platform.commons.util - package org.junit.platform.commons.util
-
Internal common utilities for JUnit.
- org.junit.platform.console - module org.junit.platform.console
-
Support for launching the JUnit Platform from the console.
- org.junit.platform.console - package org.junit.platform.console
-
Support for launching the JUnit Platform from the console.
- org.junit.platform.console.options - package org.junit.platform.console.options
-
Configuration options for JUnit's console launcher.
- org.junit.platform.console.tasks - package org.junit.platform.console.tasks
-
Internal execution tasks for JUnit's console launcher.
- org.junit.platform.engine - module org.junit.platform.engine
-
Public API for test engines.
- org.junit.platform.engine - package org.junit.platform.engine
-
Public API for test engines.
- org.junit.platform.engine.discovery - package org.junit.platform.engine.discovery
- org.junit.platform.engine.reporting - package org.junit.platform.engine.reporting
-
Classes used by test engines to report additional data to execution listeners.
- org.junit.platform.engine.support.config - package org.junit.platform.engine.support.config
-
ConfigurationParameters
-related support classes intended to be used by test engine implementations. - org.junit.platform.engine.support.descriptor - package org.junit.platform.engine.support.descriptor
-
TestDescriptor
-related support classes intended to be used by test engine implementations and clients of the launcher. - org.junit.platform.engine.support.discovery - package org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation that can be reused by different test engines.
- org.junit.platform.engine.support.filter - package org.junit.platform.engine.support.filter
-
Filter
-related support classes intended to be used by test engine implementations. - org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
-
Support classes and base implementation for any
TestEngine
that wishes to organize test suites hierarchically based on theNode
abstraction. - org.junit.platform.engine.support.store - package org.junit.platform.engine.support.store
-
Reusable data structures for test engines and their extensions.
- org.junit.platform.jfr - module org.junit.platform.jfr
-
Provides Java Flight Recorder events for the JUnit Platform.
- org.junit.platform.jfr - package org.junit.platform.jfr
-
Java Flight Recorder support package.
- org.junit.platform.launcher - module org.junit.platform.launcher
-
Public API for configuring and launching test plans.
- org.junit.platform.launcher - package org.junit.platform.launcher
-
Public API for configuring and launching test plans.
- org.junit.platform.launcher.core - package org.junit.platform.launcher.core
-
Core support classes for the
Launcher
including theLauncherFactory
and theLauncherDiscoveryRequestBuilder
. - org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
-
Common
TestExecutionListener
implementations and related support classes for theLauncher
. - org.junit.platform.launcher.listeners.discovery - package org.junit.platform.launcher.listeners.discovery
-
Common
LauncherDiscoveryListener
implementations and factory methods. - org.junit.platform.launcher.listeners.session - package org.junit.platform.launcher.listeners.session
-
Common
LauncherSessionListener
implementations and factory methods. - org.junit.platform.launcher.tagexpression - package org.junit.platform.launcher.tagexpression
-
The tag expression language parser and related support classes.
- org.junit.platform.reporting - module org.junit.platform.reporting
-
Defines the JUnit Platform Reporting API.
- org.junit.platform.reporting.legacy - package org.junit.platform.reporting.legacy
-
Support for legacy reporting formats.
- org.junit.platform.reporting.legacy.xml - package org.junit.platform.reporting.legacy.xml
-
Support for generating XML reports using a format which is compatible with the de facto standard for JUnit 4 based test reports that was made popular by the Ant build system.
- org.junit.platform.reporting.open.xml - package org.junit.platform.reporting.open.xml
-
Support for generating Open Test Reporting compatible XML event reports.
- org.junit.platform.runner - module org.junit.platform.runner
-
Runner
and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment. - org.junit.platform.runner - package org.junit.platform.runner
-
Runner
and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment. - org.junit.platform.suite - module org.junit.platform.suite
-
Aggregates all JUnit Platform Suite modules.
- org.junit.platform.suite.api - module org.junit.platform.suite.api
-
Annotations for configuring a test suite on the JUnit Platform.
- org.junit.platform.suite.api - package org.junit.platform.suite.api
-
Annotations for configuring a test suite on the JUnit Platform.
- org.junit.platform.suite.commons - module org.junit.platform.suite.commons
-
Common support utilities for declarative test suite executors.
- org.junit.platform.suite.commons - package org.junit.platform.suite.commons
-
Common support utilities for executing test suites on the JUnit Platform.
- org.junit.platform.suite.engine - module org.junit.platform.suite.engine
-
Provides a TestEngine for running declarative test suites.
- org.junit.platform.suite.engine - package org.junit.platform.suite.engine
-
Core package for the JUnit Platform Suite test engine.
- org.junit.platform.testkit - module org.junit.platform.testkit
-
Defines the Test Kit API for the JUnit Platform.
- org.junit.platform.testkit.engine - package org.junit.platform.testkit.engine
-
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform. - org.junit.vintage.engine - module org.junit.vintage.engine
-
Provides a TestEngine for running JUnit 3 and 4 based tests on the platform.
- org.junit.vintage.engine - package org.junit.vintage.engine
-
Core package for the JUnit Vintage test engine.
- org.junit.vintage.engine.descriptor - package org.junit.vintage.engine.descriptor
-
Test descriptors used within the JUnit Vintage test engine.
- org.junit.vintage.engine.discovery - package org.junit.vintage.engine.discovery
-
Internal classes for test discovery within the JUnit Vintage test engine.
- org.junit.vintage.engine.execution - package org.junit.vintage.engine.execution
-
Internal classes for test execution within the JUnit Vintage test engine.
- org.junit.vintage.engine.support - package org.junit.vintage.engine.support
-
Internal support classes for test discovery and execution within the JUnit Vintage test engine.
- OS - Enum Class in org.junit.jupiter.api.condition
-
Enumeration of common operating systems used for testing Java applications.
- OTHER - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
A JRE version other than
JRE.JAVA_8
,JRE.JAVA_9
,JRE.JAVA_10
,JRE.JAVA_11
,JRE.JAVA_12
,JRE.JAVA_13
,JRE.JAVA_14
,JRE.JAVA_15
,JRE.JAVA_16
,JRE.JAVA_17
,JRE.JAVA_18
,JRE.JAVA_19
,JRE.JAVA_20
,JRE.JAVA_21
, orJRE.JAVA_22
. - OTHER - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
An operating system other than
OS.AIX
,OS.FREEBSD
,OS.LINUX
,OS.MAC
,OS.OPENBSD
,OS.SOLARIS
, orOS.WINDOWS
. - OUTPUT_DIR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
Property name used to set the path to the output directory for the file generated by the
UniqueIdTrackingListener
: "junit.platform.listeners.uid.tracking.output.dir" - OUTPUT_FILE_PREFIX_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
Property name used to set the prefix for the name of the file generated by the
UniqueIdTrackingListener
: "junit.platform.listeners.uid.tracking.output.file.prefix" - OutputDir - Class in org.junit.platform.launcher.listeners
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form