Class TestFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.TestFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
TestFinished_1_1
@GradleVersion(since="2.5")
@PluginVersion(since="1.0",
until="1.13")
public class TestFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData that is published when a test has finished running.
Zero or more TestFinished_1_0 events may be published.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether the test failed.final @Nullable("when not a failure") ExceptionTree_1_0The failure in case the test failed.final longThe id of the test.final booleanWhether the test was skipped.final longThe id of the task that executed the test. -
Constructor Summary
ConstructorsConstructorDescriptionTestFinished_1_0(long task, long id, boolean failed, boolean skipped, @Nullable ExceptionTree_1_0 failure) -
Method Summary
-
Field Details
-
task
public final long taskThe id of the task that executed the test. -
id
public final long idThe id of the test. -
failed
public final boolean failedWhether the test failed. -
skipped
public final boolean skippedWhether the test was skipped. -
failure
@Nullable("when not a failure") public final @Nullable("when not a failure") ExceptionTree_1_0 failureThe failure in case the test failed.nullif the test did not fail.nullfor plugin version ≥ 1.14.
-
-
Constructor Details
-
TestFinished_1_0
public TestFinished_1_0(long task, long id, boolean failed, boolean skipped, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-
Method Details