- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for newConfigurationCacheFixture (0.48 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildScriptChangesIntegrationTest.groovy
def "invalidates cache upon change to #scriptChangeSpec of included build"() { given: def configurationCache = newConfigurationCacheFixture() def fixture = scriptChangeSpec.fixtureForProjectDir(file('build-logic'), testDirectory) fixture.setup() def build = { configurationCacheRunLenient(*fixture.buildArguments) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy
class ConfigurationCacheSkipCacheIntegrationTest extends AbstractConfigurationCacheIntegrationTest { def "skip reading cached state on #commandLine"() { def configurationCache = newConfigurationCacheFixture() given: buildFile << """ abstract class MyTask extends DefaultTask { @Input abstract Property<String> getMessage()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildInputsChangesIntegrationTest.groovy
assumeFalse( 'property from gradle.properties is not available to included build', inputName == 'gradle.properties' ) given: def configurationCache = newConfigurationCacheFixture() def fixture = new BuildLogicChangeFixture(file('build-logic')) fixture.setup() fixture.buildFile << """ interface Params : $ValueSourceParameters.name {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy
import org.gradle.test.preconditions.IntegTestPreconditions import spock.lang.Issue class ConfigurationCacheKeyIntegrationTest extends AbstractConfigurationCacheIntegrationTest { def configurationCache = newConfigurationCacheFixture() def "offline flag is part of the cache key"() { when: configurationCacheRun "help" then: configurationCache.assertStateStored() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy
""" server.expectGet "/$scriptName", scriptFile buildFile << """ apply from: '$scriptUrl' task ok """ configurationCache = newConfigurationCacheFixture() } @Issue("https://github.com/gradle/gradle/issues/23273") def "invalidates cache if remote script was changed"() { when: configurationCacheRun 'ok' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileInputsIntegrationTest.groovy
@ToBeImplemented("reporting multiple consumers per input is not implemented yet") def "reports multiple consumers of a single file in #accessKind access"() { def configurationCache = newConfigurationCacheFixture() UndeclaredFileAccess access = inputRead(testDirectory) applyBuildLogic(access) def accessedFile = new File(access.filePath) when: accessedFile.text = "foo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy
def "calling an unrelated method is allowed in groovy build script #indyStatus"() { given: def configurationCache = newConfigurationCacheFixture() generateClassesWithClashingMethods() withPluginCode(""" import java.io.* import static ProcessGroovyMethodsExecute.execute """,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
} def "state serialization errors always halt the build and invalidate the cache"() { given: def configurationCache = newConfigurationCacheFixture() buildFile << """ class BrokenSerializable implements java.io.Serializable { private Object writeReplace() { throw new RuntimeException("BOOM")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy
file('foo.fail').write('') } if (isZip) { srcDir.zipTo(file('src.zip')) } and: def configurationCache = newConfigurationCacheFixture() when: configurationCacheRun 'ok' then: outputContains '*foo.ok*' outputDoesNotContain '*foo.fail*' when: 'a new input appears!'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInputListenerLifecycleIntegrationTest.groovy
def "configuration inputs are tracked during task graph serialization"() { given: def configurationCache = newConfigurationCacheFixture() and: "a project that has a provider having undeclared configuration inputs, which is linked to a task" buildFile(""" abstract class MyTask extends DefaultTask { @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.3K bytes - Viewed (0)