Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for file_foo_ (0.07 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

            def res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            1 * parent.getResource("foo.txt") >> new URL("file:foo.txt")
            0 * parent._
    
            when:
            res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            0 * parent._
        }
    
        def "caches missing resources"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top