Skip navigation links
JUnit 5
A B C D E F G H I J L M N O P R S T U V W 

E

enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
Factory for creating enabled results.
EnableRuleMigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport.rules
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
end() - Method in enum org.junit.platform.console.options.Theme
 
ENGINE_ID - Static variable in class org.junit.jupiter.engine.JupiterTestEngine
 
ENGINE_ID - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
An EngineDescriptor is a TestDescriptor for a specific TestEngine.
EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
Create a new EngineDescriptor with the supplied UniqueId and display name.
EngineDiscoveryRequest - Interface in org.junit.platform.engine
EngineDiscoveryRequest provides a TestEngine access to the information necessary to discover tests and containers.
EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
Marker interface for an execution context used by a concrete implementation of HierarchicalTestEngine and its collaborators.
EngineExecutionListener - Interface in org.junit.platform.engine
Listener to be notified of test execution events by test engines.
EngineFilter - Class in org.junit.platform.launcher
An EngineFilter is applied to all TestEngines before they are used.
entry() - Method in enum org.junit.platform.console.options.Theme
 
EnumSource - Annotation Type in org.junit.jupiter.params.provider
@EnumSource is a special ArgumentsSource which provides access to the possible constants of specified Enum.
equals(Object) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
equals(Object) - Method in class org.junit.platform.engine.TestTag
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
 
equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
 
evaluate(ContainerExtensionContext) - Method in interface org.junit.jupiter.api.extension.ContainerExecutionCondition
Evaluate this condition for the supplied ContainerExtensionContext.
evaluate(TestExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestExecutionCondition
Evaluate this condition for the supplied TestExtensionContext.
evaluateForContainer(ExtensionRegistry, ConfigurationParameters, ContainerExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all ContainerExecutionCondition extensions registered for the supplied ContainerExtensionContext.
evaluateForTest(ExtensionRegistry, ConfigurationParameters, TestExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all TestExecutionCondition extensions registered for the supplied TestExtensionContext.
ExceptionUtils - Class in org.junit.platform.commons.util
Collection of utilities for working with exceptions.
excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new exclude ClassNameFilter based on the supplied patterns.
ExcludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
@ExcludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.
excluded(String) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating excluded results.
excluded() - Method in class org.junit.platform.engine.FilterResult
 
excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
ExcludeEngines - Annotation Type in org.junit.platform.suite.api
@ExcludeEngines specifies the IDs of TestEngines to be excluded when running a test suite on the JUnit Platform.
excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
ExcludePackages - Annotation Type in org.junit.platform.suite.api
@ExcludePackages specifies the packages to be excluded when running a test suite on the JUnit Platform.
excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tags.
excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tags.
ExcludeTags - Annotation Type in org.junit.platform.suite.api
@ExcludeTags specifies the tags to be excluded when running a test suite on the JUnit Platform.
ExclusionReasonConsumingFilter<T> - Class in org.junit.platform.engine.support.filter
Decorator for a Filter that passes the object and the reason to a BiConsumer in case it is excluded.
ExclusionReasonConsumingFilter(Filter<T>, BiConsumer<T, Optional<String>>) - Constructor for class org.junit.platform.engine.support.filter.ExclusionReasonConsumingFilter
Create a new ExclusionReasonConsumingFilter using the supplied filter and reasonConsumer.
Executable - Interface in org.junit.jupiter.api.function
Executable is a functional interface that can be used to implement any generic block of code that potentially throws a Throwable.
ExecutableInvoker - Class in org.junit.jupiter.engine.execution
ExecutableInvoker encapsulates the invocation of a Executable (i.e., method or constructor), including support for dynamic resolution of method parameters via ParameterResolvers.
ExecutableInvoker() - Constructor for class org.junit.jupiter.engine.execution.ExecutableInvoker
 
execute() - Method in interface org.junit.jupiter.api.function.Executable
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
execute(Executable) - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Execute the supplied Executable and collect any Throwable thrown during the execution.
execute(PrintWriter) - Method in class org.junit.platform.console.tasks.ConsoleTestExecutor
 
execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create an initial execution context, execute the behavior of all nodes in the hierarchy starting with the supplied request's root and notify its execution listener of test execution events.
execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Submit a dynamic test descriptor for immediate execution.
execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the behavior of this node.
execute(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
Execute the test.
execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
Execute tests according to the supplied ExecutionRequest.
execute(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.
execute(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
 
execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
 
executeAndMaskThrowable(Executable) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Execute the supplied Executable and mask any exception thrown as an unchecked exception.
executeMethod(String) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeMethod(String, Class<?>[], Object...) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Execute the supplied SingleTestExecutor.Executable and return a TestExecutionResult based on the outcome.
executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has finished, regardless of the outcome.
ExecutionRequest - Class in org.junit.platform.engine
Provides a single TestEngine access to the information necessary to execute its tests.
ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
 
executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has been skipped.
executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan is about to be started.
ExpectedExceptionAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExpectedExceptionAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
ExpectedExceptionSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for the ExpectedException rule from JUnit 4.
ExpectedExceptionSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
ExtendWith - Annotation Type in org.junit.jupiter.api.extension
@ExtendWith is a repeatable annotation that is used to register extensions for the annotated test class or test method.
Extension - Interface in org.junit.jupiter.api.extension
Marker interface for all extensions.
ExtensionConfigurationException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered regarding the configuration of an extension.
ExtensionConfigurationException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
 
ExtensionContext - Interface in org.junit.jupiter.api.extension
ExtensionContext encapsulates the context in which the current test or container is being executed.
ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
A Namespace is used to provide a scope for data saved by extensions within a ExtensionContext.Store.
ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
Store provides methods for extensions to save and retrieve data.
ExtensionContextException - Exception in org.junit.jupiter.api.extension
Thrown if an error is encountered regarding the use of an ExtensionContext or ExtensionContext.Store.
ExtensionContextException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionContextException
 
ExtensionRegistry - Class in org.junit.jupiter.engine.extension
An ExtensionRegistry holds all registered extensions (i.e.
Extensions - Annotation Type in org.junit.jupiter.api.extension
@Extensions is a container for one or more @ExtendWith declarations.
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable auto-detection and registration of extensions via Java's ServiceLoader mechanism: "junit.extensions.autodetection.enabled"
ExtensionValuesStore - Class in org.junit.jupiter.engine.execution
ExtensionValuesStore is used inside implementations of ExtensionContext to store and retrieve attributes.
ExtensionValuesStore(ExtensionValuesStore) - Constructor for class org.junit.jupiter.engine.execution.ExtensionValuesStore
 
ExternalResourceAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExternalResourceAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
ExternalResourceSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for subclasses of the ExternalResource rule from JUnit 4.
ExternalResourceSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
JUnit 5