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 Details

    • 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 the BzlTestTargetAttemptStarted_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.
  • Constructor Details

    • BzlTestStarted_1_0

      public BzlTestStarted_1_0(long id, long testTargetAttemptId, @Nullable @Nullable Long parentId, String name, boolean isSuite)
  • Method Details