test

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unnecessary @Unroll annotations from "ear"

  1. … 1 more file in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix more constructors

  1. … 15 more files in changeset.
Add generateDeploymentDescriptor boolean to Ear task and EarPluginConvention that allows the user to disable application.xml generation.

Signed-off-by: Jesper Utoft <jesper.utoft@systematic.com>

  1. … 8 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Change lib dir to exclude any files both in deploy and earlib configurations. (#4381)

  1. … 1 more file in changeset.
Remove usage of Task.execute from tests

  1. … 28 more files in changeset.
Create directories when registering outputs via the runtime API, too (#2929)

Previously we were creating output directories only for outputs registered via task property annotations.

  1. … 32 more files in changeset.
Added method to `TestUtil` to get hold of an `ObjectFactory` to use in unit tests, rather than recreating a bunch of stuff in the unit test.

  1. … 2 more files in changeset.
Preserve EarPluginConvention plugin API compatibility with 4.0

  1. … 2 more files in changeset.
Changed `DependencyInjectingInstantiator` to reuse `CrossBuildInMemoryCacheFactory` to create a cache implementation to handle the requested-class -> constructor lookup caching, rather than using an ad hoc cache.

This change also allows the validation error messages generated by `DependencyInjectingInstantiator` to reference the requested class rather than reporting errors against the generated class.

  1. … 9 more files in changeset.
Allow DefaultDeploymentDescriptor to be constructed with an Instantiator to preserve backward compatibility

  1. … 1 more file in changeset.
Convert Ear plugin to use public ObjectFactory instead of internal Instantiator

  1. … 5 more files in changeset.
Fixed unit test for changes to `JavaPlugin`.

ear: coverage for Action<?> overloads

Fix test

+review REVIEW-6090

Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

  1. … 199 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

  1. … 199 more files in changeset.
Fix other equals/hashCode problems with Groovy->Java conversions

+review REVIEW-6035

  1. … 3 more files in changeset.
GRADLE-3471 Fix NullPointerException in equals-Method of DefaultEarModule

This fixes the implementation of equals for DefaultEarModuleTest.

The NullPointerException occurs in the Ear-Task when checking if the EarModule

is already in the list of modules of the deployment descriptor

and there is already an EarModule with the same Hashcode in the list.

  1. … 1 more file in changeset.
Stop EarPluginTest from leaking files.

- This changes the `EarPluginTest` to use the

`AbstractProjectBuilderSpec` which cleans up test files directories.

  1. … 1 more file in changeset.
AbstractTaskTest isa AbstractProjectBuilderSpec

- This change converts the entire class hierarchy under AbstractTaskTest

to extend from AbstractProjectBuilderSpec.

- This should ensure that fewer files are left behind by tests, and the

temporary directory names actually match their testclass/method names.

    • -38
    • +42
    ./groovy/org/gradle/plugins/ear/EarTest.groovy
  1. … 33 more files in changeset.
Ear plugin now generates correct descriptor for JEE 7

Fix namespaces

GRADLE-3449

  1. … 1 more file in changeset.
Ear plugin now generates correct descriptor for JEE 7

Fixes GRADLE-3449

  1. … 1 more file in changeset.