Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesChangingModulesIntegrationTest.groovy

            def snapshot = artifact.snapshot()
    
            and:
            moduleA.publishWithChangedContent()
            run("retrieve")
    
            then:
            artifact.assertContentsHaveChangedSince(snapshot)
    
            when:
            buildFile << """
    class ChangingFalseRule implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeBinaryFixture.groovy

        }
    
        URI toURI() {
            file.toURI()
        }
    
        Snapshot snapshot() {
            file.snapshot()
        }
    
        void assertHasChangedSince(Snapshot snapshot) {
            file.assertContentsHaveChangedSince(snapshot)
        }
    
        void assertExists() {
            file.assertIsFile()
        }
    
        void assertDoesNotExist() {
            file.assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top