Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for isConfigCache (0.17 sec)

  1. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy

            then:
            skipped(":includedBuild:jar")
            // configuration cache registers all build directories at startup so the cache fingerprint can be checked
            def expectedWatchableCount = GradleContextualExecuter.isConfigCache() ? 4 : 2
            assertWatchableHierarchies([ImmutableSet.of(consumer, includedBuild)] * expectedWatchableCount)
            when:
            includedBuild.file("src/main/java/NewClass.java")  << "public class NewClass {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactCollectionIntegrationTest.groovy

                    }
                }
            """
    
            when:
            succeeds "help"
    
            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CopyOnWriteArrayList from DefaultMultiCauseException being serialized reflectively by configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

        def "produces sensible error when there are failures both enqueuing and running operations" () {
            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    
            // A first CC build may produce build/reports, which renders `clean` out-of-date
            if (GradleContextualExecuter.isConfigCache()) {
                def build = testDirectory.file("build")
                assert build.listFiles().size() == 1 && build.file("reports").exists()
                build.deleteDir()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            outputFile.text == "changedAgain"
            assertExpectedProjectFilesInVfs(2)
        }
    
        private void assertExpectedProjectFilesInVfs(int expected) {
            if (GradleContextualExecuter.isConfigCache()) {
                // Cc watches also settings.gradle and build.gradle, so they are added to VFS.
                expected += 2
            }
            assert getProjectFilesInVfs() == expected
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            //run second time
            when:
            inDirectory 'project'
            run 'help'
            then:
            if (GradleContextualExecuter.isConfigCache()) {
                outputDoesNotContain 'Project accessors enabled, but root project name not explicitly set for \'project\'.'
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            }
        }
    
        static final class IsConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isConfigCache()
            }
        }
    
        static final class NotConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            file('subprojects/build.gradle') << """
                assert gradle.parent.rootProject.name == 'root'
                task log { }
            """
    
            def runs = GradleContextualExecuter.isConfigCache() ? 2 : 1
            runs.times {
                barrier.expectConcurrent("child-build-started", "1-started", "2-started")
                barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                    "https://docs.gradle.org/current/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations"
                if (GradleContextualExecuter.isConfigCache()) {
                    executer.expectDocumentedDeprecationWarning(wrapUtilWarning)
                } else {
                    executer.beforeExecute {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerCachingSmokeTest.groovy

            if (agpVersion.startsWith('7.3') || VersionNumber.parse(agpVersion) >= VersionNumber.parse('8.1.0')) {
                if (GradleContextualExecuter.isConfigCache()) {
                    result.assertConfigurationCacheStateLoaded()
                }
            } else {
                if (GradleContextualExecuter.isConfigCache()) {
                    result.assertConfigurationCacheStateStored()
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 13:45:43 UTC 2024
    - 209.8K bytes
    - Viewed (0)
Back to top