- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for makeReadable (0.18 sec)
-
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
stat.type == FileType.RegularFile assertSameLastModified(stat, fileInDir) stat.length == 0 assertSameAccessType(stat, DIRECT) cleanup: unreadableDir.makeReadable() } @Requires(UnitTestPreconditions.FilePermissions) def "stat an unreadable file"() { def unreadableFile = tmpDir.createFile("unreadable") unreadableFile.makeUnreadable()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
public TestFile makeUnreadable() { boolean success = setReadable(false, false); assert success; assert !Files.isReadable(toPath()); return this; } public TestFile makeReadable() { boolean success = setReadable(true, false); assert success; assert Files.isReadable(toPath()); return this; } public TestFile createFile(Object path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)