ToolingApiClasspathProvider.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Fixed test to work with older Gradle versions.

  1. … 2 more files in changeset.
Enable Gradle Daemon by default

  1. … 21 more files in changeset.
Make `FilteringClassLoader` immutable

`SystemClassLoaderSpec` is moved to its own class so that it can be

included in `gradle-worker.jar`.

+review REVIEW-6020

    • -26
    • +27
    ./ToolingApiClasspathProvider.groovy
  1. … 20 more files in changeset.
Revert "Make `FilteringClassLoader` immutable"

This reverts commit 18ee27f8561df18b19761ebd65f209eed88c19f5.

    • -24
    • +23
    ./ToolingApiClasspathProvider.groovy
  1. … 15 more files in changeset.
Make `FilteringClassLoader` immutable

+review REVIEW-6020

    • -23
    • +24
    ./ToolingApiClasspathProvider.groovy
  1. … 15 more files in changeset.
Remove unused `MutableURLClassLoader.addURL()` method

This effectively makes `MutableURLClassLoader` not publicly mutable,

thus the rename to `VisitableURLClassLoader`.

+review REVIEW-6020

  1. … 21 more files in changeset.
Allow fixtures from `:ide` to be used in forked TAPI tests

  1. … 1 more file in changeset.
Initial implementation of Tooling API performance tests

This commit introduces a new kind of performance tests, aimed at measuring the performance of the Tooling API.

By extending `AbstractToolingApiCrossVersionPerformanceTest` a test can check the performance of the tooling

API for various scenarios. In that case, you can specify:

- a list of target versions

- an action to execute in a `GradleConnection` context

The list of target versions is used to tell which version of the Tooling API to use, but also to tell which

version of Gradle we're connecting to.

For now, we're only checking the total duration of the operation, and we are reusing the `CrossVersionResultsStore` to

store the results. We do *not* check the memory consumption yet (not our initial focus).

    • -0
    • +80
    ./ToolingApiClasspathProvider.groovy
  1. … 43 more files in changeset.