Skip navigation links
junit-engine-api
A B C D E F G H I J L M N O P R S T U V 

A

aborted(Throwable) - Static method in class org.junit.gen5.engine.TestExecutionResult
 
AbstractTestDescriptor - Class in org.junit.gen5.engine.support.descriptor
 
AbstractTestDescriptor(String) - Constructor for class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
accept(TestDescriptor.Visitor) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
accept(TestDescriptor.Visitor) - Method in interface org.junit.gen5.engine.TestDescriptor
 
addChild(TestDescriptor) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
addChild(TestDescriptor) - Method in interface org.junit.gen5.engine.TestDescriptor
 
afterAll(C) - Method in interface org.junit.gen5.engine.support.hierarchical.Container
 
allDescendants() - Method in interface org.junit.gen5.engine.TestDescriptor
 
appendDescription(Appendable, String) - Method in class org.junit.gen5.engine.reporting.ReportEntry
 

B

beforeAll(C) - Method in interface org.junit.gen5.engine.support.hierarchical.Container
 
byNamePattern(String) - Static method in interface org.junit.gen5.engine.discovery.ClassFilter
 

C

ClassFilter - Interface in org.junit.gen5.engine.discovery
 
ClasspathSelector - Class in org.junit.gen5.engine.discovery
 
ClassSelector - Class in org.junit.gen5.engine.discovery
 
combine(DiscoveryFilter<T>...) - Static method in interface org.junit.gen5.engine.DiscoveryFilter
Combines an array of DiscoveryFilters into a new filter that will include elements if and only if all of the filters in the specified array include it.
combine(Collection<? extends DiscoveryFilter<T>>) - Static method in interface org.junit.gen5.engine.DiscoveryFilter
Combines a collection of DiscoveryFilters into a new filter that will include elements if and only if all of the filters in the specified collection include it.
Container<C extends EngineExecutionContext> - Interface in org.junit.gen5.engine.support.hierarchical
A container within the execution hierarchy.
countStaticTests() - Method in interface org.junit.gen5.engine.TestDescriptor
 
createExecutionContext(ExecutionRequest) - Method in class org.junit.gen5.engine.support.hierarchical.HierarchicalTestEngine
 

D

discover(EngineDiscoveryRequest) - Method in interface org.junit.gen5.engine.TestEngine
 
DiscoveryFilter<T> - Interface in org.junit.gen5.engine
Filters particular tests during test discovery.
DiscoverySelector - Interface in org.junit.gen5.engine
A selector defines location(s) a TestEngine should lookup tests at.
dontSkip() - Static method in class org.junit.gen5.engine.support.hierarchical.Node.SkipResult
 
dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.gen5.engine.EngineExecutionListener
Must be called when a new, dynamic TestDescriptor has been registered.

E

EngineDescriptor - Class in org.junit.gen5.engine.support.descriptor
 
EngineDescriptor(String, String) - Constructor for class org.junit.gen5.engine.support.descriptor.EngineDescriptor
 
EngineDiscoveryRequest - Interface in org.junit.gen5.engine
An EngineDiscoveryRequest gives TestEngines access to the information necessary to discover TestDescriptors.
EngineExecutionContext - Interface in org.junit.gen5.engine.support.hierarchical
Marker interface for an execution context used by a concrete implementation of HierarchicalTestEngine and its collaborators.
EngineExecutionListener - Interface in org.junit.gen5.engine
Listener to be notified of test execution events by test engines.
equals(Object) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
equals(Object) - Method in class org.junit.gen5.engine.TestTag
 
excluded(String) - Static method in class org.junit.gen5.engine.FilterResult
Factory for creating excluded results.
excluded() - Method in class org.junit.gen5.engine.FilterResult
 
ExclusionReasonConsumingFilter<T> - Class in org.junit.gen5.engine.support.filter
 
ExclusionReasonConsumingFilter(Filter<T>, BiConsumer<T, Optional<String>>) - Constructor for class org.junit.gen5.engine.support.filter.ExclusionReasonConsumingFilter
 
execute(ExecutionRequest) - Method in class org.junit.gen5.engine.support.hierarchical.HierarchicalTestEngine
 
execute(C) - Method in interface org.junit.gen5.engine.support.hierarchical.Leaf
 
execute(ExecutionRequest) - Method in interface org.junit.gen5.engine.TestEngine
 
executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.gen5.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
ExecutionRequest - Class in org.junit.gen5.engine
 
ExecutionRequest(TestDescriptor, EngineExecutionListener) - Constructor for class org.junit.gen5.engine.ExecutionRequest
 
executionSkipped(TestDescriptor, String) - Method in interface org.junit.gen5.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
executionStarted(TestDescriptor) - Method in interface org.junit.gen5.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree is about to be started.

F

failed(Throwable) - Static method in class org.junit.gen5.engine.TestExecutionResult
 
FilePosition(int, int) - Constructor for class org.junit.gen5.engine.support.descriptor.FileSystemSource.FilePosition
 
FileSystemSource - Class in org.junit.gen5.engine.support.descriptor
 
FileSystemSource(File) - Constructor for class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
FileSystemSource(File, FileSystemSource.FilePosition) - Constructor for class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
FileSystemSource.FilePosition - Class in org.junit.gen5.engine.support.descriptor
 
Filter<T> - Interface in org.junit.gen5.engine
Filters particular tests during/after test discovery.
filter(T) - Method in interface org.junit.gen5.engine.Filter
 
filter(T) - Method in class org.junit.gen5.engine.support.filter.ExclusionReasonConsumingFilter
 
FilterResult - Class in org.junit.gen5.engine
The result of evaluating a Filter.
findByUniqueId(String) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
findByUniqueId(String) - Method in interface org.junit.gen5.engine.TestDescriptor
 
forClass(Class<?>) - Static method in class org.junit.gen5.engine.discovery.ClassSelector
 
forClassName(String) - Static method in class org.junit.gen5.engine.discovery.ClassSelector
 
forMethod(String, String) - Static method in class org.junit.gen5.engine.discovery.MethodSelector
 
forMethod(Class<?>, String) - Static method in class org.junit.gen5.engine.discovery.MethodSelector
 
forMethod(Class<?>, Method) - Static method in class org.junit.gen5.engine.discovery.MethodSelector
 
forName(String) - Static method in class org.junit.gen5.engine.discovery.NameBasedSelector
 
forNames(String...) - Static method in class org.junit.gen5.engine.discovery.NameBasedSelector
 
forNames(Collection<String>) - Static method in class org.junit.gen5.engine.discovery.NameBasedSelector
 
forPackageName(String) - Static method in class org.junit.gen5.engine.discovery.PackageSelector
 
forPath(String) - Static method in class org.junit.gen5.engine.discovery.ClasspathSelector
 
forPaths(Set<File>) - Static method in class org.junit.gen5.engine.discovery.ClasspathSelector
 
forUniqueId(String) - Static method in class org.junit.gen5.engine.discovery.UniqueIdSelector
 
from(Map<String, String>) - Static method in class org.junit.gen5.engine.reporting.ReportEntry
Provide a new ReportEntry with the supplied values.
from(String, String) - Static method in class org.junit.gen5.engine.reporting.ReportEntry
Provide a new ReportEntry with the supplied values.

G

getAttributes() - Method in class org.junit.gen5.engine.ExecutionRequest
 
getChildren() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
getChildren() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getClasspathRoot() - Method in class org.junit.gen5.engine.discovery.ClasspathSelector
 
getColumn() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource.FilePosition
 
getCreationTimestamp() - Method in class org.junit.gen5.engine.reporting.ReportEntry
Get the creation date of this ReportEntry.
getDiscoveryFiltersByType(Class<T>) - Method in interface org.junit.gen5.engine.EngineDiscoveryRequest
 
getDisplayName() - Method in class org.junit.gen5.engine.support.descriptor.EngineDescriptor
 
getDisplayName() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getEngineExecutionListener() - Method in class org.junit.gen5.engine.ExecutionRequest
 
getFile() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
getId() - Method in interface org.junit.gen5.engine.TestEngine
 
getJavaClass() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
getJavaMethodName() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
getJavaMethodParameterTypes() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
getLine() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource.FilePosition
 
getName() - Method in class org.junit.gen5.engine.support.descriptor.EngineDescriptor
 
getName() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getName() - Method in class org.junit.gen5.engine.TestTag
 
getPackageName() - Method in class org.junit.gen5.engine.discovery.PackageSelector
 
getParent() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
getParent() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getPosition() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
getReason() - Method in class org.junit.gen5.engine.FilterResult
 
getReason() - Method in class org.junit.gen5.engine.support.hierarchical.Node.SkipResult
 
getRootTestDescriptor() - Method in class org.junit.gen5.engine.ExecutionRequest
 
getSelectors() - Method in interface org.junit.gen5.engine.EngineDiscoveryRequest
 
getSelectorsByType(Class<T>) - Method in interface org.junit.gen5.engine.EngineDiscoveryRequest
 
getSource() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
getSource() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getStatus() - Method in class org.junit.gen5.engine.TestExecutionResult
 
getTags() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
getTags() - Method in interface org.junit.gen5.engine.TestDescriptor
 
getTestClass() - Method in class org.junit.gen5.engine.discovery.ClassSelector
 
getTestClass() - Method in class org.junit.gen5.engine.discovery.MethodSelector
 
getTestMethod() - Method in class org.junit.gen5.engine.discovery.MethodSelector
 
getThrowable() - Method in class org.junit.gen5.engine.TestExecutionResult
 
getUniqueId() - Method in class org.junit.gen5.engine.discovery.UniqueIdSelector
 
getUniqueId() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
getUniqueId() - Method in interface org.junit.gen5.engine.TestDescriptor
Get the unique identifier (UID) for the described test.
getValues() - Method in class org.junit.gen5.engine.reporting.ReportEntry
Get the values to be published.

H

hashCode() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
hashCode() - Method in class org.junit.gen5.engine.TestTag
 
hasTests() - Method in interface org.junit.gen5.engine.TestDescriptor
 
HierarchicalTestEngine<C extends EngineExecutionContext> - Class in org.junit.gen5.engine.support.hierarchical
Abstract base class for all TestEngine implementations that wish to organize test suites hierarchically based on the Node, Container, and Leaf abstractions.
HierarchicalTestEngine() - Constructor for class org.junit.gen5.engine.support.hierarchical.HierarchicalTestEngine
 

I

included(String) - Static method in class org.junit.gen5.engine.FilterResult
Factory for creating included results.
included() - Method in class org.junit.gen5.engine.FilterResult
 
includedIf(boolean) - Static method in class org.junit.gen5.engine.FilterResult
Factory for creating filter results based on the condition given.
includedIf(boolean, Supplier<String>, Supplier<String>) - Static method in class org.junit.gen5.engine.FilterResult
Factory for creating filter results based on the condition given.
isContainer() - Method in class org.junit.gen5.engine.support.descriptor.EngineDescriptor
 
isContainer() - Method in interface org.junit.gen5.engine.TestDescriptor
 
isDirectory() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
isDirectory() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
isDirectory() - Method in interface org.junit.gen5.engine.TestSource
 
isFile() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
isFile() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
isFile() - Method in interface org.junit.gen5.engine.TestSource
 
isFilePosition() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
isFilePosition() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
isFilePosition() - Method in interface org.junit.gen5.engine.TestSource
 
isJavaClass() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
isJavaClass() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
isJavaClass() - Method in interface org.junit.gen5.engine.TestSource
 
isJavaMethod() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
isJavaMethod() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
isJavaMethod() - Method in interface org.junit.gen5.engine.TestSource
 
isRoot() - Method in interface org.junit.gen5.engine.TestDescriptor
 
isSkipped() - Method in class org.junit.gen5.engine.support.hierarchical.Node.SkipResult
 
isTest() - Method in class org.junit.gen5.engine.support.descriptor.EngineDescriptor
 
isTest() - Method in interface org.junit.gen5.engine.TestDescriptor
 

J

JavaSource - Class in org.junit.gen5.engine.support.descriptor
 
JavaSource(Class<?>) - Constructor for class org.junit.gen5.engine.support.descriptor.JavaSource
 
JavaSource(Method) - Constructor for class org.junit.gen5.engine.support.descriptor.JavaSource
 

L

Leaf<C extends EngineExecutionContext> - Interface in org.junit.gen5.engine.support.hierarchical
A leaf within the execution hierarchy.

M

MethodSelector - Class in org.junit.gen5.engine.discovery
 

N

NameBasedSelector - Class in org.junit.gen5.engine.discovery
 
NameBasedSelector() - Constructor for class org.junit.gen5.engine.discovery.NameBasedSelector
 
Node<C extends EngineExecutionContext> - Interface in org.junit.gen5.engine.support.hierarchical
A node within the execution hierarchy.
Node.SkipResult - Class in org.junit.gen5.engine.support.hierarchical
 

O

org.junit.gen5.engine - package org.junit.gen5.engine
Public API for JUnit test engines.
org.junit.gen5.engine.discovery - package org.junit.gen5.engine.discovery
 
org.junit.gen5.engine.reporting - package org.junit.gen5.engine.reporting
 
org.junit.gen5.engine.support.descriptor - package org.junit.gen5.engine.support.descriptor
 
org.junit.gen5.engine.support.filter - package org.junit.gen5.engine.support.filter
 
org.junit.gen5.engine.support.hierarchical - package org.junit.gen5.engine.support.hierarchical
 

P

PackageSelector - Class in org.junit.gen5.engine.discovery
 
prepare(C) - Method in interface org.junit.gen5.engine.support.hierarchical.Node
 

R

removeChild(TestDescriptor) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
removeChild(TestDescriptor) - Method in interface org.junit.gen5.engine.TestDescriptor
 
removeFromHierarchy() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
ReportEntry - Class in org.junit.gen5.engine.reporting
This class represents a ReportEntry — that is a time-stamped map of String-based key-value pairs to be published to the reporting infrastructure.
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.gen5.engine.EngineExecutionListener
Can be called for any testDescriptor in order to publish additional information, e.g.: Output that would otherwise go to System.out Information about test context or test data The current lifecycle state of testDescriptor is not relevant; that means that reporting events can occur at all times.

S

setParent(TestDescriptor) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
setParent(TestDescriptor) - Method in interface org.junit.gen5.engine.TestDescriptor
 
setSource(TestSource) - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
shouldBeSkipped(C) - Method in interface org.junit.gen5.engine.support.hierarchical.Node
 
skip(String) - Static method in class org.junit.gen5.engine.support.hierarchical.Node.SkipResult
 
successful() - Static method in class org.junit.gen5.engine.TestExecutionResult
 

T

TestDescriptor - Interface in org.junit.gen5.engine
 
TestDescriptor.Visitor - Interface in org.junit.gen5.engine
 
TestEngine - Interface in org.junit.gen5.engine
 
TestExecutionResult - Class in org.junit.gen5.engine
 
TestExecutionResult(TestExecutionResult.Status, Throwable) - Constructor for class org.junit.gen5.engine.TestExecutionResult
 
TestExecutionResult.Status - Enum in org.junit.gen5.engine
 
TestSource - Interface in org.junit.gen5.engine
 
TestTag - Class in org.junit.gen5.engine
 
TestTag(String) - Constructor for class org.junit.gen5.engine.TestTag
 
toPredicate() - Method in interface org.junit.gen5.engine.Filter
 
toString() - Method in class org.junit.gen5.engine.FilterResult
 
toString() - Method in class org.junit.gen5.engine.reporting.ReportEntry
 
toString() - Method in class org.junit.gen5.engine.support.descriptor.AbstractTestDescriptor
 
toString() - Method in class org.junit.gen5.engine.support.descriptor.FileSystemSource
 
toString() - Method in class org.junit.gen5.engine.support.descriptor.JavaSource
 
toString() - Method in class org.junit.gen5.engine.TestExecutionResult
 
toString() - Method in class org.junit.gen5.engine.TestTag
 

U

UniqueIdSelector - Class in org.junit.gen5.engine.discovery
 

V

valueOf(String) - Static method in enum org.junit.gen5.engine.TestExecutionResult.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.gen5.engine.TestExecutionResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
visit(TestDescriptor, Runnable) - Method in interface org.junit.gen5.engine.TestDescriptor.Visitor
 
A B C D E F G H I J L M N O P R S T U V 
Skip navigation links
junit-engine-api