- java.lang.Object
-
- org.junit.platform.launcher.LauncherConstants
-
@API(status=EXPERIMENTAL, since="1.3") public class LauncherConstants extends Object
Collection of constants related toLauncher
.- Since:
- 1.3
- See Also:
ConfigurationParameters
-
-
Field Summary
Fields Modifier and Type Field 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 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 String
CAPTURE_STDERR_PROPERTY_NAME
Property name used to enable capturing output toSystem.err
: "junit.platform.output.capture.stderr"static String
CAPTURE_STDOUT_PROPERTY_NAME
Property name used to enable capturing output toSystem.out
: "junit.platform.output.capture.stdout"static String
STDERR_REPORT_ENTRY_KEY
Key used to publish captured output toSystem.err
as part of aReportEntry
: "stderr"static String
STDOUT_REPORT_ENTRY_KEY
Key used to publish captured output toSystem.out
as part of aReportEntry
: "stdout"
-
-
-
Field Detail
-
CAPTURE_STDOUT_PROPERTY_NAME
public static final String CAPTURE_STDOUT_PROPERTY_NAME
Property name used to enable capturing output toSystem.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.
-
CAPTURE_STDERR_PROPERTY_NAME
public static final String CAPTURE_STDERR_PROPERTY_NAME
Property name used to enable capturing output toSystem.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.
-
CAPTURE_MAX_BUFFER_PROPERTY_NAME
public static final 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"Value must be an integer; defaults to 4194304.
- See Also:
CAPTURE_MAX_BUFFER_DEFAULT
, Constant Field Values
-
CAPTURE_MAX_BUFFER_DEFAULT
public static final int CAPTURE_MAX_BUFFER_DEFAULT
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
-
STDOUT_REPORT_ENTRY_KEY
public static final String STDOUT_REPORT_ENTRY_KEY
Key used to publish captured output toSystem.out
as part of aReportEntry
: "stdout"- See Also:
- Constant Field Values
-
STDERR_REPORT_ENTRY_KEY
public static final String STDERR_REPORT_ENTRY_KEY
Key used to publish captured output toSystem.err
as part of aReportEntry
: "stderr"- See Also:
- Constant Field Values
-
-