Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 820 for testPipe (0.25 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        TestFile testFile
        TestFile testFileLock
        TestFile testDir
        TestFile testDirLock
    
        List<Closeable> openedLocks = []
    
        def setup() {
            testFile = tmpDir.createFile("state.bin")
            testFileLock = tmpDir.file(testFile.name + ".lock")
            testDir = tmpDir.createDir("lockable-dir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
            setUpAgentIfNeeded(testType, executer)
            disableIfNeeded(testType, executer)
        }
    
    
    internal
    fun IntegrationTest.disableIfNeeded(testType: TestType, executer: String) {
        if (testType == TestType.INTEGRATION && executer == "isolatedProjects") {
            isEnabled = false
        }
    }
    
    
    private
    fun IntegrationTest.setUpAgentIfNeeded(testType: TestType, executer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/util/filesystem/util_windows_test.go

    		}
    		return "\\\\.\\pipe\\test-pipe" + string(b)
    	}
    	testFile := generatePipeName(4)
    	pipeln, err := winio.ListenPipe(testFile, &winio.PipeConfig{SecurityDescriptor: "D:P(A;;GA;;;BA)(A;;GA;;;SY)"})
    	defer pipeln.Close()
    
    	require.NoErrorf(t, err, "Failed to listen on named pipe for test purposes: %v", err)
    	result, err := IsUnixDomainSocket(testFile)
    	assert.NoError(t, err, "Unexpected error from IsUnixDomainSocket.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BasicHttpResource.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class BasicHttpResource extends HttpResource {
        private final String path
        private final TestFile file
    
        BasicHttpResource(HttpServer httpServer, TestFile file, String path) {
            super(httpServer)
            this.file = file
            this.path = path
        }
    
        @Override
        TestFile getFile() {
            return file
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningIntegrationSpec.groovy

        }
    
        TestFile pom(String name = "sign-1.0") {
            m2RepoFile("${name}.pom")
        }
    
        TestFile pomSignature(String name = "sign-1.0") {
            m2RepoFile("${name}.pom.asc")
        }
    
        TestFile module(String name = "sign-1.0") {
            m2RepoFile("${name}.module")
        }
    
        TestFile moduleSignature(String name = "sign-1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/BuildTestFile.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class BuildTestFile extends TestFile {
        private final String projectName
    
        BuildTestFile(TestFile rootDir, String projectName) {
            super(rootDir)
            this.projectName = projectName
        }
    
        String getRootProjectName() {
            projectName
        }
    
        TestFile getBuildFile() {
            file("build.gradle")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

        def setup() {
            testFile = tmpDir.file("file")
            mavenFileModule = new MavenFileModule(testFile, testFile, "my-company", "my-artifact", "1.0")
            snapshotMavenFileModule = new MavenFileModule(testFile, testFile, "my-company", "my-artifact", "1.0-SNAPSHOT")
        }
    
        def "Add multiple dependencies without type"() {
            when:
            List dependencies = mavenFileModule.dependsOnModules("dep1", "dep2").dependencies
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenLocalModuleTest.groovy

        private String mavenMetadataFileName = 'maven-metadata-local.xml'
    
        def setup() {
            testFile = tmpDir.file("file")
            mavenLocalModule = new MavenLocalModule(testFile, testFile, "my-company", "my-artifact", "1.0")
            snapshotMavenLocalModule = new MavenLocalModule(testFile, testFile, "my-company", "my-artifact", "1.0-SNAPSHOT")
        }
    
        def "Add multiple dependencies without type"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            "constructing a byte channel with open options" | (TestFile it) -> { UndeclaredFileAccess.filesNewByteChannelWithOpenOptions(testFilePath(it)) }
            "reading lines from a file"                     | (TestFile it) -> { UndeclaredFileAccess.fileReadLines(testFilePath(it)) }
        }
    }
    
    class FileUtils {
        static String testFilePath(TestFile testDirectory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildVersionLocator.java

            TestFile msbuild;
            if (!location.isEmpty()) {
                msbuild = new TestFile(location).file("MSBuild/" + vsVersion.getMajor() + ".0/Bin/MSBuild.exe");
            } else if (vsVersion.getMajor() == 11) {
                msbuild = new TestFile("C:/Windows/Microsoft.Net/Framework/v4.0.30319/MSBuild.exe");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top