- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 102 for tempdir (0.18 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; /** * Tests {@link FileProfileActivator}. * */ class FileProfileActivatorTest extends AbstractProfileActivatorTest<FileProfileActivator> { @TempDir Path tempDir;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
import gradlebuild.buildutils.model.ReleasedVersion import spock.lang.Specification import spock.lang.TempDir import java.text.SimpleDateFormat class UpdateReleasedVersionsIntegrationTest extends Specification { def format = new SimpleDateFormat('yyyyMMddHHmmssZ') @TempDir File tmpDir def setup() { format.timeZone = TimeZone.getTimeZone("UTC") }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.4K 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) -
cmd/os-readdir_test.go
// Add empty entry slice for this test directory. testResults = append(testResults, result{t.TempDir(), []string{}}) return testResults } // Test to read non-empty directory with only files. func setupTestReadDirFiles(t *testing.T) (testResults []result) { dir := t.TempDir() entries := []string{} for i := 0; i < 10; i++ { name := fmt.Sprintf("file-%d", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
api/go1.15.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jul 17 02:15:01 UTC 2020 - 7.6K bytes - Viewed (0) -
fess-crawler-lasta/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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
} public void setOutputExtension(final String outputExtension) { this.outputExtension = outputExtension; } public void setTempDir(final File tempDir) { this.tempDir = tempDir; } public void setCommand(final String command) { this.command = command; } public void setExecutionTimeout(final long executionTimeout) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir class FileOperatorTest { @TempDir var tempDir: File? = null private var file: File? = null private var randomAccessFile: RandomAccessFile? = null @BeforeEach fun setUp() { file = File(tempDir, "test") randomAccessFile = RandomAccessFile(file, "rw") } @AfterEach fun tearDown() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
import java.nio.file.Files import org.gradle.api.Action import org.gradle.api.UnknownDomainObjectException import spock.lang.Specification import spock.lang.TempDir class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0)