SamplesJavaQuickstartIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate samples subproject (#10829)

Also see the discussion in https://github.com/gradle/gradle-private/issues/1663

Previously, `integTest` subproject runs 15 mins, now we split it into 3 jobs: `integTest`/`integTest_2`/`integTest_3`. However, the one containing sample tests is still too slow.

The average build time of that job is 10 minutes. This PR separates the `samples` project so that we can further optimise the build structure (e.g. `samples_2`/`samples_3`).

    • -78
    • +0
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 88 more files in changeset.
Use a separate project

    • -78
    • +0
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 87 more files in changeset.
Use a separate project

    • -78
    • +0
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 87 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

    • -0
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 15 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

    • -0
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 15 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
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 285 more files in changeset.
Use global init script to set mirrors for buildSrc (#6627)

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 50 more files in changeset.
Include Kotlin DSL samples in the plugins doc chapter

See #6424

    • -2
    • +10
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 111 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -2
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 99 more files in changeset.
Apply repository mirroring to more sample tests

Also introduces a mirror for JBoss repository

    • -1
    • +6
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 32 more files in changeset.
Removed TestPrecondition.JDK7_OR_LATER

    • -3
    • +0
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 39 more files in changeset.
fix ci java 1.6 sample builds after updating samples to 1.7

    • -15
    • +14
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 2 more files in changeset.
Changed some int tests to use DefaultTestExecutionResult rather than JUnitTestExecutionResult, to use whatever the default mechanism for verifying test results happens to be.

    • -2
    • +2
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 24 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

    • -3
    • +0
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 1213 more files in changeset.
Add test directory provider to construction of these sample rules.

Missed these guys the first time around, not sure how.

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 15 more files in changeset.
REVIEW-1033: rename DefaultTestExecutionResult to JUnitXmlTestExecutionResult

    • -2
    • +2
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 29 more files in changeset.
Some renaming and cleanup around the test/temp directory used in tests.

    • -1
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 308 more files in changeset.
Don't have the GradleDistribution be responsible for providing the working space for a test.

    • -6
    • +4
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 109 more files in changeset.
Rename TestFileContext to TestWorkDirProvider, and don't make TestFile implement it.

    • -4
    • +6
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 63 more files in changeset.
REVIEW-867: Rename test fixture JUnitTestExecutionResult -> DefaultTestExecutionResult.

    • -2
    • +2
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 27 more files in changeset.
Moved code related to GradleExecuter and GradleDistribution into org.gradle.integtests.fixtures.executer - Affects many, many files, but mostly just imports - Certain files (eg RuleHelper) are not in the correct spot, but were moved to avoid cycles

    • -2
    • +2
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 170 more files in changeset.
Refactoring and restructruization. Moved the samples integ tests into a spearate package for better visibility and runability. Moved test fixture code into the integ test internal subproject.

    • -0
    • +72
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 65 more files in changeset.