TaskFactoryTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved ObjectInstantiationException to public API

This avoids leaking an internal exception type through the

ObjectFactory.newInstance API.

  1. … 26 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.

  1. … 97 more files in changeset.
[GRADLE-3317] Changes test to an integ test to fix class visibility issue.

+review REVIEW-5557

  1. … 1 more file in changeset.
[GRADLE-3317] Cleans up class inspection post code review * Moves test closer to the real issue * Adds more coverage to class inspector test * Prevents redundantly walking the super class hierarchy

+review REVIEW-5557

  1. … 3 more files in changeset.
Moved knowledge of the default task implementation to TaskFactory.

  1. … 2 more files in changeset.
Changed ITaskFactory so that it extends NamedEntityInstantiator, to tease apart TaskContainer from the logic that knows how to create a task.

  1. … 5 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 more files in changeset.
GRADLE-2755: Evaluate task parameter and fail if a parameter does not exist.

  1. … 2 more files in changeset.
Allow a ITaskFactory to be contextualised with a Project and Instantiator to use to create tasks.

  1. … 33 more files in changeset.
Ported test to spock.

    • -0
    • +176
    ./TaskFactoryTest.groovy
  1. … 1 more file in changeset.