- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for existenceCheckReturnsFalseWhenResourceDoesNotExist (0.56 sec)
-
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/CachingTextResourceTest.groovy
assert resource.text == 'content' assert resource.exists then: 1 * target.text >> 'content' 0 * target._ } def existenceCheckReturnsFalseWhenResourceDoesNotExist() { when: assert !resource.exists then: 1 * target.text >> { throw new MissingResourceException(new URI("somewhere:not-here"), "not found")} 0 * target._
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.4K bytes - Viewed (0)