Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 762 for destFile (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

        }
    
        void assertChecksumsPublishedFor(TestFile testFile) {
            def sha1File = sha1File(testFile)
            sha1File.assertIsFile()
            assert HashCode.fromString(sha1File.text) == Hashing.sha1().hashFile(testFile)
            if (extraChecksums && !(testFile.name in missingExtraChecksums)) {
                def sha256File = sha256File(testFile)
                sha256File.assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy

        @Requires(UnitTestPreconditions.Symlinks)
        void reportsSymLinkWhichPointsToNothing() {
            TestFile link = testFile('src/file')
            link.createLink(testFile('missing'))
    
            Assert.assertFalse(link.isDirectory())
            Assert.assertFalse(link.isFile())
            Assert.assertFalse(link.exists())
    
            testFile('build.gradle') << '''
                task copy(type: Copy) {
                    from 'src'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:48:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top