ApiClassExtractorAnnotationsTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move tests

    • -329
    • +0
    ./ApiClassExtractorAnnotationsTest.groovy
  1. … 10 more files in changeset.
Address review feedback for SortingAnnotationVisitor

- Add integration test reproducing the issue

- Add Unit test reproducing the issue

GRADLE-3483

+review REVIEW-6034

    • -0
    • +43
    ./ApiClassExtractorAnnotationsTest.groovy
  1. … 2 more files in changeset.
Removed TestPrecondition.JDK6_OR_LATER

    • -4
    • +0
    ./ApiClassExtractorAnnotationsTest.groovy
  1. … 6 more files in changeset.
Polish `ApiJar`

- Improve code flow with static imports

- Remove `JarEntry` writing logic duplication

- Decouple jar generation from file collection

- Make temporal coupling explicit by turning `sortedFiles` field into `collectedFiles` parameter

- Normalise usage of whitespace

+review REVIEW-5733

    • -1
    • +0
    ./ApiClassExtractorAnnotationsTest.groovy
  1. … 4 more files in changeset.
Introduce o.g.jvm.tasks.api.internal package

This commit introduces an "internal" subpackage for the

o.g.jvm.tasks.api package and moves into it all of the supporting types

for the recently-introduced (public and @Incubating) `ApiJar` task.

Note that the only type that technically needs to be given public

visibility in this new internal package is `ApiClassExtractor` (because

it is the only one directly referenced from `ApiJar`). However, all

types have been given public visibility in order to conform with current

conventions in the larger Gradle codebase.

    • -0
    • +291
    ./ApiClassExtractorAnnotationsTest.groovy
  1. … 48 more files in changeset.