integtests

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved core/src/test and core/src/integTest into new “testing” module which contains all fixtures/utilities for testing support.

This module is not part of the Gradle distribution. See the build script for this module for more info.

    • -45
    • +0
    ./fixtures/AbstractExecutionResult.java
    • -262
    • +0
    ./fixtures/AbstractGradleExecuter.java
    • -56
    • +0
    ./fixtures/BasicGradleDistribution.java
    • -65
    • +0
    ./fixtures/DaemonGradleExecuter.java
    • -339
    • +0
    ./fixtures/ForkingGradleExecuter.java
    • -50
    • +0
    ./fixtures/GradleBackedArtifactBuilder.java
    • -196
    • +0
    ./fixtures/GradleDistribution.java
    • -196
    • +0
    ./fixtures/GradleDistributionExecuter.java
    • -386
    • +0
    ./fixtures/InProcessGradleExecuter.java
  1. … 120 more files in changeset.
Merge branch GRADLE_739

  1. … 2 more files in changeset.
More tests for artifact resolution with classifiers - exposes a bug in resolution with non-standard packaging

  1. … 1 more file in changeset.
Fix for broken int test when running using the daemon

  1. … 1 more file in changeset.
- Don't cache artifacts from local maven repositories - Split MavenDependencyResolutionIntegrationTest and IvyDependencyResolutionIntegrationTest into separate classes for local and remote repositories.

    • -10
    • +22
    ./fixtures/MavenRepository.groovy
  1. … 16 more files in changeset.
GRADLE-1760 - Changed repositories.ivy() so that it does not cache local artifacts.

  1. … 4 more files in changeset.
GRADLE-915 - Handle cyclic dependency relationships for `gradle task`

  1. … 2 more files in changeset.
GRADLE-1718: Accept all successful (2xx) http status codes when pushing files to CommonsHttpClientBackedRepository

  1. … 2 more files in changeset.
Fix for broken int tests.

    • -1
    • +2
    ./fixtures/PreviousGradleVersionExecuter.groovy
Changed PreviousGradleVersionExecuter to use the persistent cache stuff to prevent multiple test processes clobbering each other, and to deal with test process crashes.

    • -23
    • +28
    ./fixtures/PreviousGradleVersionExecuter.groovy
  1. … 2 more files in changeset.
Tightened up the expectations of the HTTP requests that should be made when resolving against ivy and maven repos. Reveals plenty of nasty performance problems.

  1. … 2 more files in changeset.
adapted GradleDistribution to where the 'samples' task now puts the samples

GRADLE-1249 Couldn't reproduce the problem so I documented this feature as an integ test. Changed the GradleDistributionExecuter slightly (removed a static field) so that it's easier to work with daemon features.

    • -8
    • +16
    ./fixtures/GradleDistributionExecuter.java
  1. … 1 more file in changeset.
Don't mutate self when building command-line args for running build.

    • -2
    • +2
    ./fixtures/AbstractGradleExecuter.java
GRADLE-1697 - Added some int test coverage for resolving against maven http repositories - Split ivy-specific dependency resolution int tests into a separate test class. - Changed HttpServer so that it fails the test if any unexpected http requests are received.

    • -243
    • +271
    ./fixtures/HttpServer.groovy
    • -10
    • +15
    ./fixtures/MavenRepository.groovy
  1. … 4 more files in changeset.
GRADLE-1730 - Merged start script generation stuff for the gradle distribution and the application plugin, so that there's only 1 place to fix problems. - Added more int test coverage for application plugin and gradle command-line.

  1. … 16 more files in changeset.
GRADLE-1730 - Fixed 'gradle' script to handle spaces in $JAVA_OPTS and $GRADLE_OPTS. - Fixed the forking integ tests to handle tmp dir with spaces in its name.

    • -1
    • +19
    ./fixtures/ForkingGradleExecuter.java
  1. … 2 more files in changeset.
Changed int tests so they now share the same user home dir, now that we're supposed to be multi-process safe.

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
Renamed GradleDistributionExecuter.ingoreDeprecationWarnings() -> withDeprecationChecksDisabled()

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
  1. … 9 more files in changeset.
Fix PreviousGradleVersionExecuter so that CrossVersionCompatibilityTest doesn't try to run version 0.9.1 in timezones behind GMT

    • -1
    • +1
    ./fixtures/PreviousGradleVersionExecuter.groovy
Ignore deprecation warnings in CrossVersionCompatibilityIntegrationTest.canBuildJavaProject

  1. … 1 more file in changeset.
Turn on deprecation checking for integration tests by default: disabled in a few cases - use GradleDistributionExecuter.ignoreDeprecationWarnings() in cases where warnings are still emitted in tests - Ignore idea.ConfigurationHooksTest.triggersBeforeAndWhenConfigurationHooks, since this test fails due to a bug - A few other tests still failing

    • -5
    • +5
    ./fixtures/GradleDistributionExecuter.java
  1. … 15 more files in changeset.
Merge pull request #36 from merscwog/master

Fixes failing test under windows where user Path environment variable only points to a JRE or incorrect JDK

    • -1
    • +12
    ./fixtures/ForkingGradleExecuter.java
Some classloader hackery for tooling API compatibility test execution, so that jars from the target Gradle version are used for the tooling API consumer, but classes from current version are used for the test fixtures.

  1. … 2 more files in changeset.
Added missing coverage before refactoring. Extended the test harness a bit to allow deploying classifiers

  1. … 2 more files in changeset.
Remove all quoting of the tmpdir argument for the test harness.

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
Revert "Quote the tmp dir arg in a way that works for winblows and nix."

This change causes issues with UNIX build when forking for integration testing. There's a problem here in that this build will royally explode if you're running it from a path that contains spaces, but this patch was not the solution.

This reverts commit 87ac11be36bc26425fa57a919b4d5999a66cdd4f.

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
Quote the tmp dir arg in a way that works for winblows and nix.

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
Quote the temp dir when executing Gradle in test fixtures.

    • -1
    • +1
    ./fixtures/GradleDistributionExecuter.java
Fail on deprecation warnings in test output in EclipseMultiModuleIntegrationTest

    • -0
    • +10
    ./fixtures/AbstractExecutionResult.java
    • -0
    • +13
    ./fixtures/GradleDistributionExecuter.java
  1. … 2 more files in changeset.