All Classes and Interfaces
Class
Description
Reader stream sends commands to forked jvm std-
input-stream
.Configurator that relies on reflection to set parameters in TestNG
Describes a property setter by method name and parameter class
Reader stream sends bytes to forked jvm std-
input-stream
.A provider base class that all providers should extend to shield themselves from interface changes
Abstract base class for running tests using Surefire.
Abstract parallel scheduling strategy in private package.
Deprecated.
The Balancer controls the maximum of concurrent threads in the current Scheduler(s) and prevents
from own thread resources exhaustion if other group of schedulers share the same pool of threads.
Internal generic wrapper.
Constants used by the serializer/deserializer
Knows how to serialize and deserialize the booter configuration.
Knows how to serialize and deserialize the booter configuration.
Configuration for forking tests.
Data transfer object of class and method literals.
Filters stacktrace element by class name.
An ordered list of classpath elements with set behaviour
A Classpath is immutable and thread safe.
Deprecated.
Represents the classpaths for the BooterConfiguration.
This iterator is marked as stopped if
CloseableIterator.isClosed()
returns true
.Encapsulates data and command sent from master to forked process.
CLI options.
Command listener interface.
Reader of commands coming from plugin(master) process.
Concurrency utilities.
Handles responses from concurrent junit
Stuff to remember about JUnit threading: parallel=classes; beforeClass/afterClass, constructor and all tests method run on same thread parallel=methods; beforeClass/afterClass run on main thread, constructor + each test method run on same thread parallel=both; same as parallel=methods
Stuff to remember about JUnit threading: parallel=classes; beforeClass/afterClass, constructor and all tests method run on same thread parallel=methods; beforeClass/afterClass run on main thread, constructor + each test method run on same thread parallel=both; same as parallel=methods
Deprecated.
Just like TestNGReporter, but explicitly implements IResultListener; this interface is new in TestNG 5.5
Configurator for passing configuration properties to TestNG
Allows providers to write console messages on the running maven process.
Decorator around
ConsoleLogger
.Deals with system.out/err.
Surefire output consumer proxy that writes test output to a
File
for each test suite.A receiver of stdout/sterr output from running tests.
Extension for logger.
Extension listener for logger.
Base class for console reporters.
Delegates to
System.out
.Creates new daemon Thread.
Deprecated.
Basic framework which constructs CLI.
Provides reporting modules on the plugin side.
Applies the final runorder of the tests
Deprecated.
Scans dependencies looking for tests.
Represents a deserialize stacktracewriter that has been
marshalled across to the plugin from the fork.
Destroys the embedded thread-pool.
Outputs test system out/system err directly to the console
Just a step on the road to getting the separation of reporting concerns operating properly.
Just a step on the road to getting the separation of reporting concerns operating properly.
Scans directories looking for tests.
Deprecated.
Dumps lost commands and caused exceptions in forked JVM.
Dumps a text or exception in dump file.
Status of
Used together with shutdown hook.
ParallelComputer runtime
.Used together with shutdown hook.
See the plugin configuration parameter
skipAfterFailureCount
.Stores and retrieves atomic events
used by
FailFastNotifier
and TestNG provider.Sends an even in
FailFastEventsSingleton
that failure has appeared.Notifies TestNG core skipping remaining tests after first failure has appeared.
Base class for file reporters.
Utils class for file-based reporters
Moved nested class from
JUnitCoreWrapper
.Something that can be flushed.
Provides a
FlushReceiver
.Knows how to reconstruct *all* the state transmitted over stdout by the forked process.
Configuration for forking tests.
The part of the booter that is unique to a forked vm.
magic number : run mode : opcode [: opcode specific data]*
magic number : opcode : run mode [: opcode specific data]*
Events sent back to the plugin process.
Creates ForkingReporters, which are typically one instance per TestSet or thread.
Encodes the full output of the test run to the stdout stream.
A bucket from which fork numbers can be drawn.
Starts the fork or runs in-process.
Resolves string test patterns in object oriented patterns
P
.Copies input map in
constructor
, and Entries are linked and thread-safe.Reports errors to dump file.
Starts the provider in the same VM as the surefire plugin.
Run integration tests using Surefire.
The sequentially executing strategy in private package.
Loads classes from jar files added via
IsolatedClassLoader.addURL(URL)
.Reflection facade for JUnit3 classes
Missing tests ? This class is basically a subset of the JUnit4TestChecker, which is tested
to boredom and back.
Looks for additional junit48-like features
Utility method used among all JUnit4 providers
JUnit4 reflection helper
RunListener for JUnit4, delegates to our own RunListener
Writes out a specific
Failure
for
surefire as a stacktrace.The extension of
logger
for JUnit5.Extension of
file and console reporter of test-set
for JUnit5.The extension of
xml reporter
based on XSD version 3.0 for JUnit5.JUnitCore solves bugs in original junit class
JUnitCore
.Noteworthy things about JUnit4 listening:
A class that is annotated with @Ignore will have one invocation of "testSkipped" with source==name A method that is annotated with @Ignore will have a invocation of testSkipped with source and name distinct Methods annotated with @Ignore trigger no further events.
A class that is annotated with @Ignore will have one invocation of "testSkipped" with source==name A method that is annotated with @Ignore will have a invocation of testSkipped with source and name distinct Methods annotated with @Ignore trigger no further events.
Encapsulates access to JUnitCore
JUnit 5 Platform Provider.
Test listener to record all the failures during one run
JUnit3 test set
A key-value source obeying the geneal constrains of java.util.Properties
A variant of TestsToRun that is provided with test class names
from an
System.in
.Write the trace out for a POJO test.
A stream-like object that preserves ordering between stdout/stderr
CLI options in plugin (main) JVM process.
Commands which are sent from plugin to the forked jvm.
Only run test methods in the given failure set.
For internal use only
Internal tests use only.
Jigsaw class-path and module-path.
Used by forked JMV, see
ForkStarter
.A class to be used when there is no JUnit parallelism (methods or/and class).
Parallel strategy for non-shared thread pool in private package.
Forked jvm notifies master process to provide a new test.
Extends
JUnit notifier
,
encapsulates several different types of JUnit listeners
, and
fires events to listeners.This balancer implements
Balancer
and does not do anything -no blocking operation.Logger doing nothing rather than using null.
TestcycleConsoleOutputReceiver doing nothing rather than using null.
ConsoleReporter doing nothing rather than using null.
FileReporter doing nothing rather than using null.
always returns true
FileReporter doing nothing rather than using null.
StatisticsReporter doing nothing rather than using null.
Similar to Java 7 java.util.Objects.
A
Commandline
implementation that provides the output stream of
the executed process in form of a FlushReceiver
, for it to be
flushed on demand.Facade flushing
OutputStream
and isolating the stream in client.ParallelComputer extends JUnit
Computer
and has a shutdown functionality.An algorithm which configures
ParallelComputer
with allocated thread resources by given
JUnitCoreParameters
.Loads platform specifics.
Wrapper logger of miscellaneous implementations of
Logger
.Write the trace out for a POJO test.
Executes a JUnit3 test class
Recognizes PID of Plugin process and determines lifetime.
For testing purposes.
Immutable object which encapsulates PID and elapsed time (Unix) or start time (Windows).
Represents the surefire configuration that passes all the way into the provider
classloader and the provider.
Creates the surefire provider.
Injected into the providers upon provider construction.
Relocates class names when running with relocated provider
Describes a single entry for a test report
Type of an entry in the report
Bits and pieces of reporting configuration that seem to be necessary on the provider side.
Exception occurring during report generation.
Used by the providers to request (per-thread) run listeners.
Utility for reporter classes.
Deprecated.
will be renamed to ResolvedTestPattern
Type of patterns in ResolvedTest constructor.
Used by providers to report results.
Determines the purpose the provider started the tests.
Counts number of JUnit suites, classes and methods.
A RunOrder specifies the order in which the tests will be run.
Represents a test-run-result; this may be from a single test run or an aggregated result.
Guards against misbehaving throwables
Schedules tests, controls thread resources, awaiting tests and other schedulers finished, and
a master scheduler can shutdown slaves.
The factory of
SchedulingStrategy
.Specifies the strategy of scheduling whether sequential, or parallel.
SPI loader for Surefire/Failsafe should use
current ClassLoader
.Parallel strategy for shared thread pool in private package.
Specifies the way how the forked jvm should be terminated after
class AbstractCommandStream is closed and CTRL+C.
See the plugin configuration parameter
shutdown
.Populates collection
triggeredTests
of descriptions started before shutting down.Wrapper of
ParallelComputer status information
and tests been populated before
a shutdown hook has been triggered.Used to execute tests annotated with net.jcip.annotations.NotThreadSafe.
Deprecated.
Filter for test class files
StackTrace element filter.
Ability to write a stack trace, filtered to omit locations inside Surefire and Maven.
Configuration that is used by the SurefireStarter but does not make it into the provider itself.
All the parameters used to construct reporters
Extension for stateless reporter.
Creates a report upon handled event "testSetCompleted".
Configuration passed to the constructor of default reporter
org.apache.maven.plugin.surefire.report.StatelessXmlReporter.
Extension listener for stateless console reporter of test-set.
Extension listener for stateless file reporter of test-set.
Extension listener for stateless file and console reporter of test-set.
Covers configuration parameter
skipAfterFailureCount
.
Common
java.lang.String
manipulation routines.Encapsulates exceptions thrown during Surefire forking.
Default implementation for extension of console logger.
Does dependency resolution and artifact handling for the surefire plugin.
An error occurring during the invocation of Surefire via an alternate class loader.
This interface contains all the common parameters that have different implementations in Surefire vs IntegrationTest
Helper class for surefire plugins
Run tests using Surefire.
A properties implementation that preserves insertion order.
Interface to be implemented by all Surefire providers.
Exception indicating that surefire had problems with reflection.
Does reflection based invocation of the surefire methods.
The parameters required to report on a surefire execution.
Default implementation for extension of
StatelessXmlReporter
in plugin.Default implementation for extension of
test-set event listener for stateless file and console reporter
in plugin.Describes a single test set
Deprecated.
JDK 9 support.
Contains information about the detected test artifact
JUnit Description parser.
Generic interface of test filter.
Dispatches commands without tests.
Builds
streams
, registers cachable commands
and provides accessible API to dispatch immediate commands to all atomically
alive streams.Invocation Handler for TestListener proxies to delegate to our
RunListener
Resolved multi pattern filter e.g.
Represents the test-state of a single test method that is run.
Maintains per-thread test result state for a single test method.
TestNG 4.7 and 5.1 configurator.
TestNG 5.10 configurator.
TestNG 5.13 configurator.
TestNG 5.14.1 configurator.
TestNG 5.14.3 configurator.
TestNG 5.2 configurator.
TestNG 6.0 configurator.
Test suite for TestNG based on a directory of Java test classes.
Contains utility methods for executing TestNG.
TestNG configurator for 5.3+ versions.
Listens for and provides and adaptor layer so that
TestNG tests can report their status to the current
RunListener
.Handles suite xml file definitions for TestNG.
An
InputStream
that, when read, provides test class names out of a queue.Information about the requested test.
Method filter used in
JUnit4Provider
.* Represents the test-state of a testset that is run.
Exception that indicates a test failed.
Describes test-set when started and finished.
Reports data for a single test set.
Maintains per-thread test result state.
Contains all the tests that have been found according to specified include/exclude
specification for a given surefire run.
Abstract class which implements common functions.
Knows how to reconstruct *all* the state transmitted over stdout by the forked process.
A deferred file output stream decorator that recodes the bytes written into the stream from the VM default encoding
to UTF-8.
Verify integration tests ran using Surefire.
We need to wrap runners in a suite and count children of these runners.