AsciiDependencyReportRendererTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make query methods for deprecation state of core configurations public

This is to allow plugin authors to make use of this information.

The methods to actually deprecate configurations stay internal,

as they are bound to the deprecation mechanism of Gradle core.

And thus they may only be used for configurations of Gradle's core

plugins.

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 12 more files in changeset.
Make query methods for deprecation state of core configurations public

This is to allow plugin authors to make use of this information.

The methods to actually deprecate configurations stay internal,

as they are bound to the deprecation mechanism of Gradle core.

And thus they may only be used for configurations of Gradle's core

plugins.

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 12 more files in changeset.
Exclude deprecated configurations from reports

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 7 more files in changeset.
Exclude deprecated configurations from reports

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 7 more files in changeset.
Exclude deprecated configurations from reports

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 7 more files in changeset.
Exclude deprecated configurations from reports

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 7 more files in changeset.
WIP - adjustments + handle annotation processor configurations

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 22 more files in changeset.
WIP - adjustments + handle annotation processor configurations

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 24 more files in changeset.
WIP - adjustments + handle annotation processor configruations

    • -3
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 22 more files in changeset.
Refactor dependency insight renderer for readability

This commit largely refactors the dependency insight report

infrastructure to make it more understandable. The same should

probably be done for the ascii reporter, but it's not as widely

used. This is the reason why the dependency graphs builder has

a `complete` method, instead of writing the legend directly

when all nodes are rendered: it is called multiple times,

instead of once.

    • -15
    • +4
    ./AsciiDependencyReportRendererTest.groovy
  1. … 12 more files in changeset.
Put the unresolved label on the configuration too

This commit adds the `(u)` label on the configuration in addition to dependencies,

and rephrases the legend for better understanding.

    • -0
    • +2
    ./AsciiDependencyReportRendererTest.groovy
  1. … 6 more files in changeset.
Fixes to tests after rework of report rendering

    • -1
    • +3
    ./AsciiDependencyReportRendererTest.groovy
  1. … 2 more files in changeset.
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

    • -5
    • +2
    ./AsciiDependencyReportRendererTest.groovy
  1. … 97 more files in changeset.
Moved more classes to live with the logging text output classes.

    • -1
    • +1
    ./AsciiDependencyReportRendererTest.groovy
  1. … 61 more files in changeset.
Moved logging test fixtures from 'core' to 'logging' project.

    • -1
    • +1
    ./AsciiDependencyReportRendererTest.groovy
  1. … 49 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

    • -2
    • +2
    ./AsciiDependencyReportRendererTest.groovy
  1. … 145 more files in changeset.
introduced RenderableDependency.isResolvable() cleanups in AbstractRenderableDependencyResult

    • -1
    • +1
    ./AsciiDependencyReportRendererTest.groovy
  1. … 4 more files in changeset.
REVIEW-130 Moved out the help tasks implementation to a separate project.

1. The new subproject is called 'diagnostics' (follows an existing convention of the package names). New subproject contains help task implementations (including dependency report tasks). 'reporting' subproject only contans the reporting API.

2. Added the help tasks implementation on the integTestRuntime classpath for every project with integTests. This way we avoid surprises that 'help' or 'tasks' task is missing when one writes a unrelated integ test.

    • -0
    • +105
    ./AsciiDependencyReportRendererTest.groovy
  1. … 148 more files in changeset.