- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for makeReadable (0.15 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) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
} task check { doLast { assert gradle.gradleVersion == '${otherVersion.version.version}' } }""" otherVersion.binDistribution.makeReadable() executer.withTasks('wrapper').run() when: toolingApi.withConnector { connector -> connector.useBuildDistribution() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy
1 * statisticsCollector.recordVisitFileFailed() } else { 1 * statisticsCollector.recordVisitFile() } 0 * _ cleanup: rootDir.listFiles()*.makeReadable() where: type | message "dir" | "java.nio.file.AccessDeniedException: %s" "file" | "java.io.FileNotFoundException: %s (Permission denied)" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
runAndFail "copy" then: expectUnreadableCopyDestinationFailure() failureHasCause(expectedError(unreadableOutput)) cleanup: unreadableOutput.makeReadable() where: type | create | expectedError 'file' | { it.createFile() } | { "Failed to create MD5 hash for file '${it.absolutePath}' as it does not exist." }
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
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 23.6K 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)