TestFinishEvent (Gradle API 5.2.1)
Date: 2019-02-08

Package org.gradle.tooling.events.test

## Interface TestFinishEvent

- All Superinterfaces:
    `FinishEvent`, `ProgressEvent`, `TestProgressEvent`

      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

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

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

      `getDisplayName, getEventTime`

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

      `getDescriptor`

- - ### 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