ActionAwareConsumerConnectionTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove support for connecting to Gradle <2.6

    • -148
    • +0
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 147 more files in changeset.
Apply all model mixins in build actions

Up until now many compatibilty mappings were only applied

when calling `ProjectConnection.getModel()`, but not when using

`BuildController.getModel()`. As a result, models retrieved by

a build action were less user friendly.

Both code paths now use the same compatibility mapping logic.

    • -6
    • +11
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 30 more files in changeset.
Detangled ActionAwareConsumerConnection and ModelBuilderBackedConsumerConnection.

    • -4
    • +34
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 5 more files in changeset.
Detangled CancellableConsumerConnection from ModelBuilderBackedConsumerConnection, as they don't really share anything.

    • -3
    • +0
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 11 more files in changeset.
Introduced ActionRunner as analog for ModelProducer. Changed AbstractConsumerConnection implementations so that they are composed from an ActionRunner and ModelProducer.

    • -0
    • +39
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 11 more files in changeset.
Removed CancellationToken from ConsumerConnection methods - it's packaged in the parameters instead.

    • -5
    • +2
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 22 more files in changeset.
Pass cancellation token to ConsumerConnection in ToolingAPI.

    • -2
    • +5
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 27 more files in changeset.
Some minor reorganisation inside the ConsumerConnection hierarchy.

    • -1
    • +3
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 7 more files in changeset.
Added a specific subclass of GradleConnectionException for the case where a build action fails with an exception.

    • -0
    • +18
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 7 more files in changeset.
Busted out the protocol -> consumer and provider -> protocol adapters for BuildController to top-level classes and added some coverage.

    • -11
    • +2
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 10 more files in changeset.
Changed tooling API provider so that it can deserialize a result whose implementation is not visible to the action ClassLoader.

    • -1
    • +1
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 8 more files in changeset.
Allow the tooling API build action results to reference tooling models

- Fixed the BuildController implementation so that it runs the action after the build has been configured but before it has been cleaned up.

- Fixed the provider's serialization mechanism to handle object graphs that span multiple, isolated ClassLoaders.

- The serialization stuff is somewhat spikey, will clean up.

    • -1
    • +1
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 15 more files in changeset.
Wired up `BuildController.getModel()` so that it is usable (to some degree) by client build actions.

    • -5
    • +17
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 4 more files in changeset.
Some renames.

    • -2
    • +2
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 11 more files in changeset.
Ship the client's build action across to the provider.

    • -0
    • +54
    ./ActionAwareConsumerConnectionTest.groovy
  1. … 12 more files in changeset.