- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 776 for testPipe (0.23 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecIntegrationSpec.groovy
def "copying files to a directory with named pipes fails"() { def input = file("input.txt").createFile() def outputDirectory = file("output").createDir() def pipe = outputDirectory.file("testPipe").createNamedPipe() buildFile << """ task copy(type: Copy) { from '${input.name}' into '${outputDirectory.name}' } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
stat.length == 0 assertSameAccessType(stat, VIA_SYMLINK) } @Requires(UnitTestPreconditions.UnixDerivative) def "stats named pipes"() { def pipe = tmpDir.file("testPipe").createNamedPipe() when: accessor.stat(pipe) then: thrown(UncheckedIOException) } @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) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy
@Issue("https://github.com/gradle/gradle/issues/2552") def "snapshotting named pipe fails"() { def rootDir = tmpDir.createDir("root") def pipe = rootDir.file("testPipe").createNamedPipe() when: directorySnapshotter.snapshot(rootDir.absolutePath, null, [:], unfilteredSubSnapshotsCollector) then: def ex = thrown(UncheckedIOException)
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
new TestFileHelper(this).tgzTo(tarFile, readOnly); return this; } public TestFile tbzTo(TestFile tarFile) { return tbzTo(tarFile, false); } public TestFile tbzTo(TestFile tarFile, boolean readOnly) { new TestFileHelper(this).tbzTo(tarFile, readOnly); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.basics.testing import org.gradle.api.tasks.testing.Test enum class TestType(val prefix: String, val executers: List<String>) { INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")), CROSSVERSION("crossVersion", listOf("embedded", "forking")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy
testType = TestSuiteType.INTEGRATION_TEST dependencies { implementation project() } } } } """.stripIndent() expect: succeeds "outgoingVariants"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginIntegrationTest.groovy
import org.gradle.api.reporting.ReportingExtension import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.integtests.fixtures.InspectsConfigurationReport import org.gradle.test.fixtures.file.TestFile import org.gradle.testing.jacoco.plugins.fixtures.JacocoReportFixture import org.gradle.testing.jacoco.plugins.fixtures.JavaProjectUnderTest
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 13.8K bytes - Viewed (0) -
src/io/pipe_test.go
n, err := w.Write(data) if err != nil { t.Errorf("write: %v", err) } if n != len(data) { t.Errorf("short write: %d != %d", n, len(data)) } c <- 0 } // Test a single read/write pair. func TestPipe1(t *testing.T) { c := make(chan int) r, w := Pipe() var buf = make([]byte, 64) go checkWrite(t, w, []byte("hello, world"), c) n, err := r.Read(buf) if err != nil { t.Errorf("read: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
TestFile getSha512File(TestFile file) { getHashFile(file, Hashing.sha512()) } TestFile sha512File(TestFile file) { hashFile(file, Hashing.sha512()) } TestFile getMd5File(TestFile file) { getHashFile(file, Hashing.md5()) } TestFile md5File(TestFile file) { hashFile(file, Hashing.md5()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0)