Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canConstructResourceFromFile (0.2 sec)

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

            testDir.file('ignoreme').write('content')
            testDir.zipTo(jarFile)
            return new URI("jar:${jarFile.toURI()}!/build.script")
        }
    
        def canConstructResourceFromFile() {
            when:
            file.createNewFile()
            UriTextResource resource = new UriTextResource('<display-name>', file, resolver)
    
            then:
            resource.displayName == "<display-name> '$file'"
    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