TestFinishEvent (Gradle API 2.10)
Date: 2015-12-21

Package: org.gradle.tooling.events.test

## [Java] Interface TestFinishEvent

- org.gradle.tooling.events.FinishEvent

- All Superinterfaces:
    TestProgressEvent, ProgressEvent, 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

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