- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Copyto (0.1 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(writer.closed()); source.copyTo(writer); assertFalse(writer.closed()); } public void testClosesOnErrors_copyingToCharSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { TestCharSource okSource = new TestCharSource(STRING); assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertFalse(out.closed()); source.copyTo(out); assertFalse(out.closed()); } public void testClosesOnErrors_copyingToByteSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { TestByteSource okSource = new TestByteSource(bytes); assertThrows(IOException.class, () -> okSource.copyTo(new TestByteSink(option)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 15.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipFileTreeTest.java
resources.findResource("permissions.zip").copyTo(archiveFile); final Map<String, Integer> expected = new HashMap<>(); expected.put("file", 0644); expected.put("folder", 0755); assertVisitsPermissions(tree, expected); } @Test public void expectedDefaultForNoModeZips() { resources.findResource("nomodeinfos.zip").copyTo(archiveFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java
resources.findResource("permissions.tar").copyTo(archiveFile); final Map<String, Integer> expected = new HashMap<>(); expected.put("file", 0644); expected.put("folder", 0755); assertVisitsPermissions(tree, expected); } @Test public void readsTarFileWithNullPermissions() { resources.findResource("nullpermissions.tar").copyTo(archiveFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/JavaDebugOptionsInternal.java
this.suspend = suspend; } public String getAddress(){ String port = Integer.toString(this.port); return isNullOrEmpty(host) ? port : host + ":" + port; } public void copyTo(JavaDebugOptionsInternal opts) { opts.enabled = enabled; opts.suspend = suspend; opts.server = server; opts.port = port; opts.host = host; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/packaging/transforms/CopyPublicApiClassesTransform.kt
outputFile.parentFile.mkdirs() zipFile.getInputStream(entry).use { input -> outputFile.outputStream().use { output -> input.copyTo(output) } } } } } private fun ZipEntry.shouldInclude(): Boolean { if (name.endsWith(".class")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:57 UTC 2024 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy
} @Override void setBytes(byte[] bytes) { file.bytes = bytes } @Override void copyBytesTo(TestFile file) { this.file.copyTo(file) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestResources.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.4K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractGradleceptionSmokeTest.groovy
private SmokeTestGradleRunner.SmokeTestBuildResult result def setup() { new TestFile("build/gradleBuildCurrent").copyTo(testProjectDir) and: def buildJavaHome = AvailableJavaHomes.getAvailableJdks(new GradleBuildJvmSpec()).last().javaHome file("gradle.properties") << "\norg.gradle.java.home=${buildJavaHome}\n" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/Sample.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.6K bytes - Viewed (0)