Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasNoContentWhenUsingJarUriAndFileDoesNotExistInJar (0.69 sec)

  1. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy

            UriTextResource resource = new UriTextResource('<display-name>', createJar(), resolver)
    
            then:
            resource.exists
            resource.text == "<content>"
        }
    
        def hasNoContentWhenUsingJarUriAndFileDoesNotExistInJar() {
            when:
            URI jarUri = createJar()
            UriTextResource resource = new UriTextResource('<display-name>', jarUri, resolver)
    
            then:
            !resource.exists
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top