Class BzlTestStarted_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.bazel.test.BzlTestStarted_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@BazelVersion(since="1.0") @BazelAgentVersion(since="1.0") public class BzlTestStarted_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Sent when Bazel executes a test. Note that the start times for this event may not be accurate, as Bazel does not reliably report that time. It is only guaranteed to be between the correspondingBzlTestTargetAttemptStarted_1_0
andBzlTestTargetAttemptFinished_1_0
. The duration however is accurate.- See Also:
BzlTestFinished_1_0
-
-
Field Summary
Fields Modifier and Type Field Description long
id
The ID of the test.boolean
isSuite
Whether this test is a suite (i.e.String
name
The name of this test.@Nullable Long
parentId
The ID of the parent suite of this test or null if this is a top-level suitelong
testTargetAttemptId
The ID of theBzlTestTargetAttemptStarted_1_0
event that this test belongs to.
-
Constructor Summary
Constructors Constructor Description BzlTestStarted_1_0(long id, long testTargetAttemptId, @Nullable Long parentId, String name, boolean isSuite)
-
-
-
Field Detail
-
id
public final long id
The ID of the test.The ID is only unique within a given
testTargetAttemptId
.
-
testTargetAttemptId
public final long testTargetAttemptId
The ID of theBzlTestTargetAttemptStarted_1_0
event that this test belongs to.
-
parentId
@Nullable public final @Nullable Long parentId
The ID of the parent suite of this test or null if this is a top-level suite
-
name
public final String name
The name of this test.
-
isSuite
public final boolean isSuite
Whether this test is a suite (i.e. contains other tests) are a simple test case.
-
-