TestFinishEvent (Gradle API 2.14.1)

Package: org.gradle.tooling.events.test

## [Java] Interface TestFinishEvent

- org.gradle.tooling.events.test.TestProgressEvent

- All Superinterfaces:
    FinishEvent, ProgressEvent, TestProgressEvent

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

  Since:
    2.4

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `TestOperationResult` | `getResult()` Returns the result of the finished test operation.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface FinishEvent` | `getResult`
    `interface TestProgressEvent` | `getDescriptor`

- - ### Method Detail

    - #### @Override public TestOperationResult getResult()

      Returns the result of the finished test operation. Currently, the result will be one of the following sub-types:

      - TestSuccessResult
      - TestSkippedResult
      - TestFailureResult
      Returns:
        the result of the finished test operation