- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for assertHasNotChangedSince (0.42 sec)
-
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy
changedGrammar("Test2") then: succeeds("generateGrammarSource") test1TokenFile.assertHasNotChangedSince(test1TokensFileSnapshot) test1LexerFile.assertHasNotChangedSince(test1LexerFileSnapshot) test1ParserFile.assertHasNotChangedSince(test1ParserFileSnapshot) test2TokenFile.assertHasChangedSince(test2TokensFileSnapshot)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy
TestFile jar = file("build/libs/project.jar"); jar.assertIsFile(); TestFile.Snapshot snapshot = jar.snapshot(); executer.withTasks("jar").run(); jar.assertHasNotChangedSince(snapshot); sleep 1000 // Some filesystems (ext3) have one-second granularity for lastModified, so bump the time to ensure we can detect a regenerated file
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy
def result = run('retrieve') then: "Everything is up to date" result.assertTaskSkipped(':retrieve') file('libs/projectA-1.0-SNAPSHOT.jar').assertHasNotChangedSince(snapshotA); file('libs/nonunique-1.0-SNAPSHOT.jar').assertHasNotChangedSince(snapshotNonUnique); } def "can find and cache snapshots in Maven HTTP repository with additional artifact urls"() { def repo1 = mavenHttpRepo("repo1")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 39K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/IncrementalGroovyProjectBuildIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
outputFileA.assertHasNotChangedSince(aSnapshot) outputFileB.assertHasNotChangedSince(bSnapshot) // Update input timestamp, no content changes when: inputFile.makeOlder() succeeds "b" then: result.assertTasksSkipped(":a", ":b") outputFileA.assertHasNotChangedSince(aSnapshot)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy
createLargeBuildScript() testBuild("hello1", "Hello 1") TestFile.Snapshot classFileSnapshot = classFile.snapshot() testBuild("hello2", "Hello 2") classFile.assertHasNotChangedSince(classFileSnapshot) modifyLargeBuildScript() testBuild("newTask", "I am new") classFile.assertHasChangedSince(classFileSnapshot) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy
file('build/reports').maybeDeleteDir() // delete configuration cache report if present file('build').assertHasDescendants('projectA-1.1.jar') jarFile.assertHasNotChangedSince(snapshot) when: "Server handles requests" server.resetExpectations() // Server will be hit to get updated versions module.ivy.expectHead()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy
when: server.resetExpectations() and: run 'retrieve' then: file('libs/projectA-1.0.jar').assertHasNotChangedSince(snapshot) } def "can resolve with GAV containing #identifier characters"() { def value = identifier.safeForFileName().decorate("name") given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeTest.java
TestFile.Snapshot snapshot = file.snapshot(); assertVisits(tree, toList("file.txt"), Collections.<String>emptyList()); file.assertContents(equalTo("content")); file.assertHasNotChangedSince(snapshot); } @Test public void overwritesFileWhenGeneratedContentChanges() { final MutableReference<String> currentContentReference = MutableReference.of("content");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcLocationIntegrationTest.groovy
// Expected } """ succeeds("help") then: // The original buildSrc jar remains intact, but is not added to the build class path originalBuildSrcJar.assertHasNotChangedSince(originalBuildSrcJarState) notExecuted(":buildSrc:jar") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 09 12:02:33 UTC 2022 - 3.7K bytes - Viewed (0)