Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for assertStateLoaded (0.23 sec)

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

            and:
            buildDir.assertDoesNotExist()
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateLoaded()
    
            and:
            buildDir.assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcIntegrationTest.groovy

            configurationCacheRun("greeting")
    
            then:
            result.assertTasksExecuted(":greeting") // buildSrc tasks are not executed
            outputContains("yo configuration cache")
            configurationCache.assertStateLoaded()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildInputsChangesIntegrationTest.groovy

            when:
            configurationCacheRunLenient fixture.task
    
            then: "included build doesn't build"
            output.count("CI") == 0
            configurationCache.assertStateLoaded()
    
            when:
            if (inputName == 'gradle.properties') {
                file('gradle.properties').text = 'test_is_ci=true'
                configurationCacheRunLenient fixture.task
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildFeatureIntegrationTest.groovy

            outputContains("configurationCache.requested=true")
            outputContains("configurationCache.active=true")
    
            when:
            configurationCacheRun "something"
            then:
            configurationCache.assertStateLoaded()
            outputContains("configurationCache.requested=true")
            outputContains("configurationCache.active=true")
        }
    
        def "not active even if requested due to --export-keys flag"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            }
    
            checkKotlinDslScriptsModel(model, originalModel)
    
    
            when:
            withIsolatedProjects()
            fetchModel(KotlinDslScriptsModel)
    
            then:
            fixture.assertStateLoaded()
        }
    
        static void checkKotlinDslScriptsModel(actual, expected) {
            assert expected instanceof KotlinDslScriptsModel
            assert actual instanceof KotlinDslScriptsModel
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

            }
    
            and:
            configurationCacheRun 'ok'
    
            then:
            outputContains '*bar.ok*'
            outputDoesNotContain '*foo.fail*'
    
            and:
            configurationCache.assertStateLoaded()
    
            where:
            [pattern, fileTree] << [fileTreeOperators(), fileTrees()].combinations()
            isZip = fileTree.toString().startsWith('zip')
        }
    
        private List<String> fileTrees() {
            [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

            outputContains("returned = new.value")
    
            when:
            configurationCacheRun("-Dsome.property=some.value", "printProperty")
    
            then:
            configurationCache.assertStateLoaded()
            outputContains("returned = new.value")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            }
    
            then:
            ideaModel.name == "root"
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(IdeaProject)
    
            then:
            fixture.assertStateLoaded()
        }
    
        def "can fetch BasicIdeaProject model for root and re-fetch cached"() {
            settingsFile << """
                rootProject.name = 'root'
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

            model2[0].message == "It works from project :"
            model2[1].message == "It works from project :a"
            model2[2].message == "It works from project :b"
    
            and:
            fixture.assertStateLoaded()
    
            when:
            file("a/build.gradle") << """
                myExtension.message = 'this is project a'
            """
            file("b/build.gradle") << """
                myExtension.message = 'this is project b'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            when:
            configurationCacheFails 'all'
    
            then:
            executed(':problems', ':moreProblems', ':ok', ':all')
            configurationCache.assertStateLoaded()
            problems.assertFailureHasProblems(failure) {
                totalProblemsCount = 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top