- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for assertHasNotChangedSince (0.95 sec)
-
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) -
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) -
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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy
targetDir.file("gradlew").assertIsFile() targetDir.file("settings.gradle.kts").assertIsFile() targetDir.file("build.gradle.kts").assertIsFile() targetDir.file(".gradle/gradle.properties").assertHasNotChangedSince(snapshot) } def "can create build in user home directory when user home directory has custom name"() { when: useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 13:39:44 UTC 2024 - 17.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
Snapshot now = snapshot(); assertEquals(String.format("contents of %s has changed", this), snapshot.hash, now.hash); } public void assertHasNotChangedSince(Snapshot snapshot) { Snapshot now = snapshot(); assertEquals(String.format("last modified time of %s has changed", this), snapshot.modTime, now.modTime);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)