Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for assertNoConfigurationCache (0.6 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

                include(":lib1:lib11")
            """
    
            when: "fetching without Isolated Projects"
            def originalIdeaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertNoConfigurationCache()
            originalIdeaModel.modules.size() == 3
            originalIdeaModel.modules.every { it.children.isEmpty() } // IdeaModules are always flattened
    
            when: "fetching with Isolated Projects"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            """
    
            when:
            run "help"
            then:
            configurationCache.assertNoConfigurationCache()
            outputContains("isConfigurationCacheRequested=false")
    
            when:
            configurationCacheRun "help", "--export-keys"
            then:
            configurationCache.assertNoConfigurationCache()
            outputContains("isConfigurationCacheRequested=true")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

            assertHasWarningThatIncubatingFeatureUsed()
            assertNoModelsQueried()
        }
    
        void assertNoConfigurationCache() {
            configurationCacheBuildOperations.assertNoConfigurationCache()
        }
    
        private void assertProjectsConfigured(HasIntermediateDetails details) {
            def configuredProjects = buildOperations.all(ConfigureProjectBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

         */
        void assertNotEnabled() {
            spec.outputDoesNotContain(ISOLATED_PROJECTS_MESSAGE)
            spec.outputDoesNotContain(CONFIGURE_ON_DEMAND_MESSAGE)
            configurationCacheBuildOperations.assertNoConfigurationCache()
            assertHasNoProblems()
        }
    
        /**
         * Asserts that the cache entry was written with no problems.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

        def "does not cache execution of BuildAction when it fails"() {
            when:
            withIsolatedProjects()
            runBuildActionFails(new FailingBuildAction())
    
            then:
            fixture.assertNoConfigurationCache()
            failureDescriptionContains("Build action expectedly failed")
    
            // TODO:isolated should not contain this output https://github.com/gradle/gradle/issues/27476
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun("help", "--export-keys")
    
            then:
            configurationCache.assertNoConfigurationCache()
            outputContains("Calculating task graph as configuration cache cannot be reused due to --export-keys")
        }
    
        def "invalidates configuration cache when dependency lock file changes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top