- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for tmpDirs (0.19 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy
hasDefaultDependencyArtifact(dependency) } def "uses parent properties from active profile to provide default values for a dependency"() { given: def parent = tmpDir.file("parent.xlm") << """ <project> <modelVersion>4.0.0</modelVersion> <groupId>group-one</groupId> <artifactId>artifact-one</artifactId> <version>version-one</version> <profiles>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 49.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy
given: def grandParent = tmpDir.file("grand-parent.xlm") << """ <project> <modelVersion>4.0.0</modelVersion> <groupId>different-group</groupId> <artifactId>grandparent</artifactId> <version>different-version</version> </project> """ def parent = tmpDir.file("parent.xlm") << """ <project> <modelVersion>4.0.0</modelVersion>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 75.4K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { t.Logf("test case: %s", tc.name) fakeClient := fakeclient.NewSimpleClientset() plug, tmpDir := newTestPluginWithAttachDetachVolumeHost(t, fakeClient) defer os.RemoveAll(tmpDir) attacher, err := plug.NewAttacher() if err != nil { t.Fatalf("failed to create new attacher: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
// create test dirs tmpDir, err := os.MkdirTemp("", "recursive_test_multiple") if err != nil { t.Fatalf("error creating temp dir: %v", err) } createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/pod/pod_1")) createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/rc/rc_1")) createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "inode/hardlink")) defer os.RemoveAll(tmpDir) // create test files
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
resourceName1 := "domain1.com/resource1" resourceName2 := "domain2.com/resource2" resourceName3 := "domain2.com/resource3" as := assert.New(t) tmpDir, err := os.MkdirTemp("", "checkpoint") as.Nil(err) defer os.RemoveAll(tmpDir) ckm, err := checkpointmanager.NewCheckpointManager(tmpDir) as.Nil(err) testManager := &ManagerImpl{ endpoints: make(map[string]endpointInfo),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
func TestMounterGetPath(t *testing.T) { plug, tmpDir := newTestPlugin(t, nil) defer os.RemoveAll(tmpDir) // TODO (vladimirvivien) specName with slashes will not work testCases := []struct { name string specVolumeName string path string }{ { name: "simple specName", specVolumeName: "spec-0",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
src/os/os_test.go
t.Parallel() tmpdir := newDir("TestLongPath", t) defer func(d string) { if err := RemoveAll(d); err != nil { t.Fatalf("RemoveAll failed: %v", err) } }(tmpdir) // Test the boundary of 247 and fewer bytes (normal) and 248 and more bytes (adjusted). sizes := []int{247, 248, 249, 400} for len(tmpdir) < 400 { tmpdir += "/dir3456789" } for _, sz := range sizes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/go/go_test.go
// out of it. tmpdir := hostLinkLine i := strings.Index(tmpdir, `go.o"`) if i == -1 { t.Fatalf(`fail to find "go.o" in "host link:" line %q`, hostLinkLine) } tmpdir = tmpdir[:i-1] i = strings.LastIndex(tmpdir, `"`) if i == -1 { t.Fatalf(`fail to find " in "host link:" line %q`, hostLinkLine) } tmpdir = tmpdir[i+1:] // Verify that temp directory has been removed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
if (tmpDir == null) { tmpDir = getDefaultTmpDir(); } String tmpDirPath = tmpDir.createDir().getAbsolutePath(); if (!tmpDirPath.contains(" ") || (getDistribution().isSupportsSpacesInGradleAndJavaOpts() && supportsWhiteSpaceInEnvVars())) { properties.put("java.io.tmpdir", tmpDirPath); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0) -
pkg/volume/testing/testing.go
return &used, err } tmpDir, err := utiltesting.MkTmpdir("metrics_du_test") if err != nil { return nil, err } defer os.RemoveAll(tmpDir) out, err := exec.New().Command("nice", "-n", "19", "du", "-x", "-s", "-B", "1", tmpDir).CombinedOutput() if err != nil { return nil, fmt.Errorf("failed command 'du' on %s with error %v", tmpDir, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)