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 corresponding
BzlTestTargetAttemptStarted_1_0
and BzlTestTargetAttemptFinished_1_0
.
The duration however is accurate.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
The ID of the test.final boolean
Whether this test is a suite (i.e.final String
The name of this test.final @Nullable Long
The ID of the parent suite of this test or null if this is a top-level suitefinal long
The ID of theBzlTestTargetAttemptStarted_1_0
event that this test belongs to. -
Constructor Summary
ConstructorDescriptionBzlTestStarted_1_0
(long id, long testTargetAttemptId, @Nullable Long parentId, String name, boolean isSuite) -
Method Summary
-
Field Details
-
id
public final long idThe ID of the test.The ID is only unique within a given
testTargetAttemptId
. -
testTargetAttemptId
public final long testTargetAttemptIdThe ID of theBzlTestTargetAttemptStarted_1_0
event that this test belongs to. -
parentId
The ID of the parent suite of this test or null if this is a top-level suite -
name
The name of this test. -
isSuite
public final boolean isSuiteWhether this test is a suite (i.e. contains other tests) are a simple test case.
-
-
Constructor Details
-
BzlTestStarted_1_0
-
-
Method Details