Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 76 of 76 for assertStateLoaded (0.33 sec)

  1. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            agentStatusWas(agentStatus)
            configurationCache.assertStateStored()
    
            when:
            withAgentApplied(agentStatus)
            succeeds()
    
            then:
            configurationCache.assertStateLoaded()
    
            where:
            agentStatus << [true, false]
        }
    
        @Requires(
            value = IntegTestPreconditions.IsConfigCached,
            reason = "Tests the configuration cache behavior"
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

    
            when:
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
            then:
            fixture.assertStateLoaded()
            outputDoesNotContain("configuring root")
            outputDoesNotContain("creating model")
        }
    
        def "parameterized models not reused if build action changes"() {
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            runWithEncryption(source, ["help"], additionalOpts)
    
            when:
            runWithEncryption(source, ["help"], additionalOpts)
    
            then:
            configurationCache.assertStateLoaded()
    
            where:
            encryptionTransformation | source
            "AES/ECB/PKCS5PADDING"   | EncryptionKind.KEYSTORE
            "AES/CBC/PKCS5PADDING"   | EncryptionKind.KEYSTORE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

            fixture.assertStateStored {
            }
    
            when:
            configurationCacheRun("declared")
    
            then:
            result.assertTasksExecuted(":declared")
            fixture.assertStateLoaded()
        }
    
        private void assertStateStoredAndDiscardedForDeclaredTask(int line) {
            fixture.assertStateStoredAndDiscarded {
                hasStoreFailure = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SmokeTestGradleRunner.groovy

            }
    
            void assertConfigurationCacheStateLoaded() {
                assertBuildOperationTracePresent()
                new ConfigurationCacheBuildOperationsFixture(operations).assertStateLoaded()
            }
    
            private void assertBuildOperationTracePresent() {
                assert buildOperationTracePath != null, "Build operation trace was not captured"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

            succeeds ':checkDeps'
    
            then:
            cc.assertStateStored()
    
            when:
            withConfigurationCache()
            succeeds ':checkDeps'
    
            then:
            cc.assertStateLoaded()
    
            when:
            tomlFile << """
    my-other-lib = {group = "org.gradle.test", name="lib2", version="1.0"}
    """
            withConfigurationCache()
            succeeds ':checkDeps'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top