@API(status=EXPERIMENTAL,
since="1.3")
public class LauncherConstants
extends java.lang.Object
Launcher
.ConfigurationParameters
Modifier and Type | Field and Description |
---|---|
static int |
CAPTURE_MAX_BUFFER_DEFAULT
Default maximum number of bytes for buffering to use per thread and
output type if output capturing is enabled.
|
static java.lang.String |
CAPTURE_MAX_BUFFER_PROPERTY_NAME
Property name used to configure the maximum number of bytes for buffering
to use per thread and output type if output capturing is enabled:
"junit.platform.output.capture.maxBuffer"
|
static java.lang.String |
CAPTURE_STDERR_PROPERTY_NAME
Property name used to enable capturing output to
System.err :
"junit.platform.output.capture.stderr" |
static java.lang.String |
CAPTURE_STDOUT_PROPERTY_NAME
Property name used to enable capturing output to
System.out :
"junit.platform.output.capture.stdout" |
static java.lang.String |
STDERR_REPORT_ENTRY_KEY
Key used to publish captured output to
System.err as part of a
ReportEntry : "stderr" |
static java.lang.String |
STDOUT_REPORT_ENTRY_KEY
Key used to publish captured output to
System.out as part of a
ReportEntry : "stdout" |
Modifier | Constructor and Description |
---|---|
private |
LauncherConstants() |
public static final java.lang.String CAPTURE_STDOUT_PROPERTY_NAME
System.out
:
"junit.platform.output.capture.stdout"
By default, output to System.out
is not captured.
If enabled, the JUnit Platform captures the corresponding output and
publishes it as a ReportEntry
using the
"stdout" key immediately before reporting the
test identifier as finished.
public static final java.lang.String CAPTURE_STDERR_PROPERTY_NAME
System.err
:
"junit.platform.output.capture.stderr"
By default, output to System.err
is not captured.
If enabled, the JUnit Platform captures the corresponding output and
publishes it as a ReportEntry
using the
"stderr" key immediately before reporting the
test identifier as finished.
public static final java.lang.String CAPTURE_MAX_BUFFER_PROPERTY_NAME
Value must be an integer; defaults to 4194304.
CAPTURE_MAX_BUFFER_DEFAULT
,
Constant Field Valuespublic static final int CAPTURE_MAX_BUFFER_DEFAULT
public static final java.lang.String STDOUT_REPORT_ENTRY_KEY
System.out
as part of a
ReportEntry
: "stdout"public static final java.lang.String STDERR_REPORT_ENTRY_KEY
System.err
as part of a
ReportEntry
: "stderr"