Class TestStarted_1_3

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @GradleVersion(since="2.5")
    @PluginVersion(since="3.14")
    public class TestStarted_1_3
    extends TestStarted_1_2
    An EventData that is published when a test has started executing.

    Zero or more TestStarted_1_0 events may be published.

    • Field Detail

      • executorRestriction

        @Nullable("if the test unit is not a test class")
        public final @Nullable("if the test unit is not a test class") ExecutorRestriction_1 executorRestriction
        Requirements that need to be fulfilled by executors in order to execute this container.
      • executorId

        @Nullable("if the event describes the test coming from an imported JUnit XML report")
        public final @Nullable("if the event describes the test coming from an imported JUnit XML report") Long executorId
        The ID of the test executor that executed the test.

        Corresponds to TestExecutorAssigned_1_0.id.

      • executorAssignmentReason

        @Nullable("if the test unit is not a test class")
        public final @Nullable("if the test unit is not a test class") TestExecutorAssignmentReason_1 executorAssignmentReason
        Indicates why a test was run on this particular test executor.
    • Constructor Detail

      • TestStarted_1_3

        public TestStarted_1_3​(long task,
                               long id,
                               @Nullable
                               @Nullable Long parent,
                               String name,
                               @Nullable
                               @Nullable String className,
                               boolean suite,
                               @Nullable
                               @Nullable Integer testSelectionReasonOrdinal,
                               @Nullable
                               @Nullable String displayName,
                               @Nullable
                               @Nullable ExecutorRestriction_1 executorRestriction,
                               @Nullable
                               @Nullable Long executorId,
                               @Nullable
                               @Nullable TestExecutorAssignmentReason_1 executorAssignmentReason)