- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 509 for tmpDirs (0.12 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy
abstract class FileSystemPropertySpec<T extends FileSystemLocation> extends PropertySpec<T> { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def resolver = TestFiles.resolver(tmpDir.testDirectory) def fileCollectionFactory = TestFiles.fileCollectionFactory(tmpDir.testDirectory) def factory = new DefaultFilePropertyFactory(host, resolver, fileCollectionFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
src/crypto/tls/link_test.go
}, }, // TODO: add only_server like func main() { tls.Server(nil, nil) } // That currently brings in the client via Conn.handleRenegotiation. } tmpDir := t.TempDir() goFile := filepath.Join(tmpDir, "x.go") exeFile := filepath.Join(tmpDir, "x.exe") for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if err := os.WriteFile(goFile, []byte(tt.program), 0644); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 11:28:56 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/LinkExeLinkerTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def argsTransformer = new LinkExeLinker.LinkerArgsTransformer() def "generates linker args for shared library"() { def dllFile = tmpDir.file("dll/out.dll") def libFile = tmpDir.file("import/out.lib") def objFile = tmpDir.file("obj/in.obj") def libInFile = tmpDir.file("libs/in.lib")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/main_test.go
if err != nil { return err } Key, err := cert.LoadCert(path.Join(tmpdir, "workload-server-naked-foo-key.pem")) if err != nil { return err } rootCertAlt, err := cert.LoadCert(path.Join(tmpdir, "root-cert-alt.pem")) if err != nil { return err } clientCertAlt, err := cert.LoadCert(path.Join(tmpdir, "workload-server-naked-foo-alt-cert.pem"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 9.2K bytes - Viewed (0) -
src/os/path_windows_test.go
t.Parallel() tmpDir := t.TempDir() const prefix = `\\?\` if len(tmpDir) < 4 || tmpDir[:4] != prefix { fullPath, err := syscall.FullPath(tmpDir) if err != nil { t.Fatalf("FullPath(%q) fails: %v", tmpDir, err) } tmpDir = prefix + fullPath } path := tmpDir + `\dir\` if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) } path = path + `.\dir2`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
src/path/filepath/match_test.go
func TestWindowsGlob(t *testing.T) { if runtime.GOOS != "windows" { t.Skipf("skipping windows specific test") } tmpDir := tempDirCanonical(t) if len(tmpDir) < 3 { t.Fatalf("tmpDir path %q is too short", tmpDir) } if tmpDir[1] != ':' { t.Fatalf("tmpDir path %q must have drive letter in it", tmpDir) } dirs := []string{ "a", "b", "dir/d/bin", } files := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/link/link_test.go
} tmpdir := t.TempDir() xSrc := filepath.Join(tmpdir, "x.go") pSrc := filepath.Join(tmpdir, "p.go") xObj := filepath.Join(tmpdir, "x.o") pObj := filepath.Join(tmpdir, "p.o") exe := filepath.Join(tmpdir, "x.exe") importcfgfile := filepath.Join(tmpdir, "importcfg") testenv.WriteImportcfg(t, importcfgfile, map[string]string{"p": pObj})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/tasks/LinkSharedLibraryTest.groovy
when: link.linkedFile = tmpDir.file("shared/lib.dll") then: link.importLibrary.get().asFile == tmpDir.file("shared/lib.lib") when: link.importLibrary.set(tmpDir.file("import/lib_debug.lib")) link.linkedFile.set(tmpDir.file("ignore-me")) then: link.importLibrary.get().asFile == tmpDir.file("import/lib_debug.lib") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/BuildDashboardGeneratorSpec.groovy
given: def htmlFolder = tmpDir.createDir('htmlContent'); htmlFolder.createFile("index.html") when: generator.render([ mockReport('a', tmpDir.createFile('report.html')), mockReport('b', tmpDir.createDir('inner').createFile('otherReport.html')), mockReport('c', tmpDir.file('idonotexist.html')),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy
private RevCommit c2 TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) GitFileRepository repo = new GitFileRepository(tmpDir.getTestDirectory()) GitFileRepository repo2 = new GitFileRepository(tmpDir.getTestDirectory().file('other')) GitFileRepository submoduleRepo = new GitFileRepository("submodule", tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 13:11:16 UTC 2024 - 8.4K bytes - Viewed (0)