- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 184 for testPipe (0.68 sec)
-
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) -
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) -
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) -
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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/MissingScriptFixture.groovy
} } static interface Scenario { void setup(AbstractIntegrationSpec spec) void createInitialBuildLayoutIn(TestFile dir, ScriptLanguage scriptLanguage) TestFile addMissingScript(TestFile dir, ScriptLanguage scriptLanguage) String getDisplayName(String scriptExtension) } static class MissingBuild implements Scenario {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ScriptChangeFixture.groovy
INIT, BUILDSRC_PROJECT, BUILDSRC_SETTINGS, } final TestFile projectDir final TestFile scriptFile final List<String> buildArguments final String expectedOutputBeforeChange = 'Hello!' final String expectedOutputAfterChange = 'Hi!' ScriptChangeFixture(TestFile projectDir, TestFile scriptFile, List<String> buildArguments) { this.projectDir = projectDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/DefaultExcludesFixture.groovy
private final ScriptLanguage scriptLanguage private final List<TestFile> excludedFiles = new ArrayList<>() private final List<TestFile> excludedFilesCopies = new ArrayList<>() private final List<TestFile> includedFiles = new ArrayList<>() private final List<TestFile> includedFilesCopies = new ArrayList<>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
fun hasTestsOf(testType: TestType) = (unitTests && testType.unitTests) || (functionalTests && testType.functionalTests) || (crossVersionTests && testType.crossVersionTests) } data class Stage( val stageName: StageName, val specificBuilds: List<SpecificBuild> = emptyList(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 21.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy
testFile('other1.gradle') << ''' apply { from 'other2.gradle' } ''' testFile('other2.gradle') << ''' task doStuff ''' inTestDirectory().withTasks('doStuff').run() } @Test void canFetchScriptViaHttp() { executer.requireOwnGradleUserHomeDir() //we need an empty external resource cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperLoggingIntegrationTest.groovy
TestFile tempUnzipDir = temporaryFolder.createDir("temp-unzip") distribution.binDistribution.unzipTo(tempUnzipDir) assert tempUnzipDir.file("gradle-${distribution.version.baseVersion.version}", "bin", "gradle").delete() TestFile tempZipDir = temporaryFolder.createDir("temp-zip-foo") TestFile malformedDistZip = new TestFile(tempZipDir, "gradle-${distribution.version.version}-bin.zip")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 4.7K bytes - Viewed (0)