TestFinishEvent (Gradle API 2.14.1)

org.gradle.tooling.events.test

## Interface TestFinishEvent

- All Superinterfaces:
    FinishEvent, ProgressEvent, TestProgressEvent

      @Incubating
      public interface TestFinishEvent
      extends TestProgressEvent, FinishEvent

  An event that informs about a test having finished its execution. You can query the result of the test using `getResult()`.
  Since:
    2.4

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TestOperationResult` | `getResult()` Returns the result of the finished test operation.

    - ### Methods inherited from interface org.gradle.tooling.events.test.TestProgressEvent

      `getDescriptor`

    - ### Methods inherited from interface org.gradle.tooling.events.ProgressEvent

      `getDisplayName, getEventTime`

- - ### Method Detail

    - #### getResult

          TestOperationResult getResult()

      Returns the result of the finished test operation. Currently, the result will be one of the following sub-types:
      - `TestSuccessResult`
      - `TestSkippedResult`
      - `TestFailureResult`
      Specified by:
        `getResult` in interface `FinishEvent`
      Returns:
        the result of the finished test operation