Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertContentsHaveChangedSince (0.25 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            assertTrue(String.format("contents or modification time of %s have not changed", this), now.modTime != snapshot.modTime || !now.hash.equals(snapshot.hash));
        }
    
        public void assertContentsHaveChangedSince(Snapshot snapshot) {
            Snapshot now = snapshot();
            assertNotEquals(String.format("contents of %s have not changed", this), snapshot.hash, now.hash);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy

            expectChangedModuleServed(snapshotModule)
    
            and:
            run 'resolveStaleThenFresh'
    
            then:
            file('fresh/unique-1.0-SNAPSHOT.jar').assertContentsHaveChangedSince(firstFreshVersion)
            file('fresh/unique-1.0-SNAPSHOT.jar').assertIsCopyOf(snapshotModule.artifactFile)
        }
    
        def "does not download snapshot artifacts after expiry when snapshot has not changed"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 39K bytes
    - Viewed (0)
Back to top