Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for assertNoConfigurationCache (0.34 sec)

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

                include(":lib1:lib11")
            """
    
            when: "fetching without Isolated Projects"
            def expectedProjectModel = fetchModel(GradleProject)
    
            then:
            fixture.assertNoConfigurationCache()
    
            with(expectedProjectModel) {
                it.name == "root"
                it.tasks.size() > 0
                it.children.size() == 1
                it.children[0].children.size() == 1
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildFeatureIntegrationTest.groovy

            when:
            run "something"
            then:
            configurationCache.assertNoConfigurationCache()
            outputContains("configurationCache.requested=null")
            outputContains("configurationCache.active=false")
    
            when:
            run "something", "--no-configuration-cache"
            then:
            configurationCache.assertNoConfigurationCache()
            outputContains("configurationCache.requested=false")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsBuildFeatureIntegrationTest.groovy

                    }
                }
            """
    
            when:
            run "something"
            then:
            fixture.assertNoConfigurationCache()
            outputContains("configurationCache.requested=null")
            outputContains("configurationCache.active=false")
            outputContains("isolatedProjects.requested=null")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheBuildOperationsFixture.groovy

            assertThat(loadOperation(), nullValue())
            def store = storeOperation()
            assertThat(store, notNullValue())
            assertThat(store.failure, notNullValue())
        }
    
        void assertNoConfigurationCache() {
            assertThat(loadOperation(), nullValue())
            assertThat(storeOperation(), nullValue())
        }
    
        private BuildOperationRecord loadOperation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            """)
            withBuildScript()
            withBuildScriptIn("a")
    
            when:
            def originalModel = fetchModel(KotlinDslScriptsModel)
    
            then:
            fixture.assertNoConfigurationCache()
    
    
            when:
            withIsolatedProjects()
            def model = fetchModel(KotlinDslScriptsModel)
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top