- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for makeUnreadable (0.27 sec)
-
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
unreadableDir.makeUnreadable() expect: def stat = accessor.stat(fileInDir) stat.type == FileType.RegularFile assertSameLastModified(stat, fileInDir) stat.length == 0 assertSameAccessType(stat, DIRECT) cleanup: unreadableDir.makeReadable() } @Requires(UnitTestPreconditions.FilePermissions)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy
def input = file("readableFile.txt").createFile() def outputDirectory = file("output") def unreadableOutput = outputDirectory.file("unreadableFile").createFile() unreadableOutput.makeUnreadable() buildFile << """ task sync(type: Sync) { from '${input.name}' into '${outputDirectory.name}' } """ expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
throw new RuntimeException(e); } return this; } 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;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)