Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasNoContentWhenFileIsADirectory (0.39 sec)

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

            then:
            e = thrown(MissingResourceException)
            e.message == "Could not read <display-name> '$file' as it does not exist." as String
        }
    
        def hasNoContentWhenFileIsADirectory() {
            when:
            TestFile dir = testDir.file('somedir').createDir()
            UriTextResource resource = new UriTextResource('<display-name>', dir, resolver)
    
            then:
    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