- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 188 for tmpdir (0.05 sec)
-
android/guava-tests/test/com/google/common/io/IoTestCase.java
* the tear-down for this test. Subsequent invocations of this method will return the same * directory. */ protected final File getTempDir() throws IOException { if (tempDir == null) { tempDir = createTempDir(); } return tempDir; } /** * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will * be deleted in the tear-down for this test. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
lib/time/update.bash
# in the CL match the update.bash in the CL. # Versions to use. CODE=2024b DATA=2024b set -e cd $(dirname $0) rm -rf work mkdir work go build -o work/mkzip mkzip.go # build now for correct paths in build errors cd work mkdir zoneinfo curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:25:08 UTC 2024 - 1.8K bytes - Viewed (0) -
cni/test/install_cni.go
return value } return fallback } func mktemp(dir, prefix string, t *testing.T) string { t.Helper() tempDir, err := os.MkdirTemp(dir, prefix) if err != nil { t.Fatalf("Couldn't get current working directory, err: %v", err) } t.Logf("Created temporary dir: %v", tempDir) return tempDir } func ls(dir string, t *testing.T) []string { files, err := os.ReadDir(dir) t.Helper() if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py
@pytest.fixture(scope="module") def client(): static_dir: Path = Path(os.getcwd()) / "static" print(static_dir) static_dir.mkdir(exist_ok=True) from docs_src.custom_docs_ui.tutorial002 import app with TestClient(app) as client: yield client static_dir.rmdir() def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 1.2K bytes - Viewed (0) -
cni/pkg/iptables/iptables_e2e_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
@pytest.fixture(scope="module") def client(): static_dir: Path = Path(os.getcwd()) / "static" print(static_dir) static_dir.mkdir(exist_ok=True) from docs_src.custom_docs_ui.tutorial001 import app with TestClient(app) as client: yield client static_dir.rmdir() def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java
@Override protected Parser<MavenInvokerRequest<MavenOptions>> createParser() { return new DefaultMavenParser(); } @Test void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception { invoke(tempDir, Arrays.asList("clean", "verify")); } @Disabled("Until we move off fully from File") @Test void jimFs() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
docRoot.delete(); } } } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); // robots.txt StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java
@Override protected Parser<ForkedMavenInvokerRequest> createParser() { return new DefaultForkedMavenParser(); } @Test void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception { invoke(tempDir, Arrays.asList("clean", "verify")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
}) } } func TestReplaceInvalidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) tempDir := t.TempDir() cfg := &config.InstallConfig{ MountedCNINetDir: tempDir, KubeCAFile: kubeCAFilepath, K8sServiceHost: k8sServiceHost, K8sServicePort: k8sServicePort,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0)