Class TestFinished_1_0

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

    @GradleVersion(since="2.5")
    @PluginVersion(since="1.0",
                   until="1.13")
    public class TestFinished_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when a test has finished running.

    Zero or more TestFinished_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.
      • failed

        public final boolean failed
        Whether the test failed.
      • skipped

        public final boolean skipped
        Whether the test was skipped.
      • failure

        @Nullable("when not a failure")
        public final @Nullable("when not a failure") ExceptionTree_1_0 failure
        The failure in case the test failed.

        null if the test did not fail. null for plugin version ≥ 1.14.

    • Constructor Detail

      • TestFinished_1_0

        public TestFinished_1_0​(long task,
                                long id,
                                boolean failed,
                                boolean skipped,
                                @Nullable
                                @Nullable ExceptionTree_1_0 failure)