Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeIndex (0.52 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndexTest.groovy

            1 * writeIndex.lookup("key") >> null
            1 * readIndex.lookup("key")
    
            when:
            twoStageIndex.lookup("other")
    
            then:
            1 * writeIndex.lookup("other") >> Stub(CachedExternalResource)
            0 * readIndex._
        }
    
        def "clearing delegates to the writable cache"() {
            when:
            twoStageIndex.clear("key")
    
            then:
            1 * writeIndex.clear("key")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top