- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for unreadableFile (0.35 sec)
-
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
def "stat an unreadable file"() { def unreadableFile = tmpDir.createFile("unreadable") unreadableFile.makeUnreadable() expect: def stat = accessor.stat(unreadableFile) stat.type == FileType.RegularFile assertSameLastModified(stat, unreadableFile) stat.length == 0 assertSameAccessType(stat, DIRECT) cleanup:
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/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy
given: def rootDir = tmpDir.createDir("root") def unreadableFile = rootDir.file('unreadable') unreadableFile."create${type.capitalize()}"().makeUnreadable() when: snapshot(rootDir) then: def ex = thrown(UncheckedIOException) ex.message == String.format(message, unreadableFile) 1 * statisticsCollector.recordVisitHierarchy()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.1K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy
given: 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}'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
given: def input = file("readableFile.txt").createFile() def outputDirectory = file("output") def unreadableOutput = file("${outputDirectory.name}/unreadableFile") unreadableOutput.createFile().makeUnreadable() buildFile << """ task copy(type: Copy) { from '${input.name}' into '${outputDirectory.name}'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0)