BuildActionCrossVersionSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split TAPI tests to dedicated source sets

    • -129
    • +0
    ./BuildActionCrossVersionSpec.groovy
  1. … 346 more files in changeset.
Revert "Move @TargetGradleVersion and GradleVersionSpec to central integ test infrastructure, from Tooling API test infrastructure."

This reverts commit e71f77c55e865f583ff930fc29fb9c33a089f33b.

  1. … 98 more files in changeset.
Move @TargetGradleVersion and GradleVersionSpec to central integ test infrastructure, from Tooling API test infrastructure.

This will be needed in upcoming TestKit tests.

+review REVIEW-6414

  1. … 98 more files in changeset.
Split out test case to separate class.

    • -25
    • +2
    ./BuildActionCrossVersionSpec.groovy
  1. … 1 more file in changeset.
Removed `@LeaksFileHandles` from ':tooling-api'

  1. … 11 more files in changeset.
Removed support for invoking Gradle versions older than 1.2 through tooling API. This is now an error.

  1. … 45 more files in changeset.
Removed support for invoking Gradle through tooling API clients older than 2.0. This is now an error.

  1. … 22 more files in changeset.
Include the correct Jvm args in BuildEnvironment model

Moved `CurrentProcess` utility into 'core', while keeping the daemon

process configuration stuff in 'launcher'.

  1. … 8 more files in changeset.
Allow `BuildEnvironment` models to be requested via a custom model action

Normally, the provider connection generates these models directly, but this change makes

this model consistently available from `BuildController` as well.

    • -0
    • +13
    ./BuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
More leaks file handles.

  1. … 3 more files in changeset.
Made some changes to error messages from tooling api when using a feature that is not supported for the target Gradle version. Added some test coverage for attempting to use an unsupported feature.

  1. … 23 more files in changeset.
Don't run this test for Gradle versions < 1.8

Don't run this test for Gradle versions < 1.8

Fixed int test case for Gradle versions <= 2.2.

Changed the DaemonFixture implementation to handle daemons that are not from the current (under development) Gradle version.

    • -0
    • +21
    ./BuildActionCrossVersionSpec.groovy
  1. … 7 more files in changeset.
Fixed int test case for Gradle versions <= 2.2.

Changed the DaemonFixture implementation to handle daemons that are not from the current (under development) Gradle version.

    • -0
    • +21
    ./BuildActionCrossVersionSpec.groovy
  1. … 7 more files in changeset.
Some int test coverage that tooling api build action classes are reused across operations in the daemon.

    • -0
    • +13
    ./BuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
Remove support for connections to Tooling API providers older than 1.0M8 and from consumers older than 1.2.

  1. … 47 more files in changeset.
Removed maybeFailWithConnection { } from tooling API fixtures, replaced by withConnection { }.

  1. … 10 more files in changeset.
Added a specific subclass of GradleConnectionException for the case where a build action fails with an exception.

  1. … 7 more files in changeset.
Cleaned up some exception handling in the tooling API provider

- Don't go trawling through the causes of the build failure looking for an 'unknown model exception'. Instead, collect it inside the action and throw it later.

- Use the serialization magic to send a build action failure back to the client, so that we retain the type when deserializing.

  1. … 4 more files in changeset.
Added some coverage for more failure cases when attempting to run a tooling API build action.

    • -0
    • +22
    ./BuildActionCrossVersionSpec.groovy
  1. … 1 more file in changeset.
Some more int test coverage of error reporting when using unsupported features.

  1. … 2 more files in changeset.
Added a little more coverage for tooling API build actions.

    • -3
    • +16
    ./BuildActionCrossVersionSpec.groovy
  1. … 1 more file in changeset.
Added a little more coverage for tooling API actions.

    • -4
    • +12
    ./BuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
Changed the build action int test to use build actions and models implemented in Java instead of Groovy. Also some coverage for actions that fetch and return multiple tooling models in a single operation.

    • -24
    • +3
    ./BuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
Use the client's ClassLoader to deserialize the build action's result, so that the result is assignable to the type that the client is expecting.

  1. … 3 more files in changeset.
Wired up `BuildController.getModel()` so that it is usable (to some degree) by client build actions.

  1. … 4 more files in changeset.
Added BuildController.getModel() to allow a build action to request a model for the default project.

  1. … 6 more files in changeset.
Fixed broken cross version test.

Don't attempt to run tooling API build actions against Gradle versions that don't support it.

  1. … 12 more files in changeset.