Class TestStarted_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData
    Direct Known Subclasses:
    TestStarted_1_1

    @GradleVersion(since="2.5")
    @PluginVersion(since="1.0",
                   until="3.9")
    public class TestStarted_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when a test has started executing.

    Zero or more TestStarted_1_0 events may be published.

    • Field Detail

      • task

        public final long task
        The id of the task that executed the test.
      • id

        public final long id
        The id of the test.
      • parent

        @Nullable("for top-level test container")
        public final @Nullable("for top-level test container") Long parent
        The test id of the parent of the test, if any.
      • name

        public final String name
        The name of the test.
      • className

        @Nullable("for some test descriptors, such as test workers")
        public final @Nullable("for some test descriptors, such as test workers") String className
        The fully qualified test class name for the test, if any.
      • suite

        public final boolean suite
        Whether the test is a composite test, i.e. made up of zero or more tests.
    • Constructor Detail

      • TestStarted_1_0

        public TestStarted_1_0​(long task,
                               long id,
                               @Nullable
                               @Nullable Long parent,
                               String name,
                               @Nullable
                               @Nullable String className,
                               boolean suite)