- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for TempDir (0.03 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
this.officeManager = officeManager; } /** * Sets the temporary directory for file operations. * * @param tempDir the temporary directory to set */ public void setTempDir(final File tempDir) { this.tempDir = tempDir; } /** * Sets the output encoding for extracted text. * * @param outputEncoding the output encoding to set */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
assertEquals("Singleton context is already initialized", e.getMessage()); } @Test void testInitLoadsJcifsPropertiesFile(@TempDir Path tempDir) throws IOException, CIFSException { // Test that jcifs.properties file is loaded Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties"); Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
private Lmhosts lmhosts; private CIFSContext mockContext; private Configuration mockConfig; @TempDir Path tempDir; @BeforeEach void setUp() { lmhosts = new Lmhosts(); mockContext = mock(CIFSContext.class); mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
super.setUp(); Path tempDir = Files.createTempDirectory("smbdata"); Path publicDir = tempDir.resolve("public"); Files.createDirectory(publicDir); Path usersDir = tempDir.resolve("users"); Files.createDirectory(usersDir); Path testuser1Dir = tempDir.resolve("testuser1"); Files.createDirectory(testuser1Dir); Path testuser2Dir = tempDir.resolve("testuser2");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 13.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
this.outputExtension = outputExtension; } /** * Sets the temporary directory for file operations. * @param tempDir The temporary directory to set. */ public void setTempDir(final File tempDir) { this.tempDir = tempDir; } /** * Sets the command to execute for text extraction. * @param command The command to set. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
cmd/common-main_test.go
}, { " \t\n Hello, Gophers \n\t\r\n", false, "Hello, Gophers", }, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp(t.TempDir(), "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() value, err := readFromSecret(tmpfile.Name())Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (2) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Files.createDirectories(tempDir.resolve("public")); Files.createDirectories(tempDir.resolve("shared")); // Create some initial files Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing"); Files.writeString(tempDir.resolve("shared/initial.txt"), "Initial file in shared directory");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
tests/tests_test.go
if dbDSN == "" { dbDSN = tidbDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) default: log.Println("testing sqlite3...") db, err = gorm.Open(sqlite.Open(filepath.Join(os.TempDir(), "gorm.db")), cfg) if err == nil { db.Exec("PRAGMA foreign_keys = ON") } } if err != nil { return } if debug := os.Getenv("DEBUG"); debug == "true" {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.7K bytes - Viewed (0) -
cmd/data-usage_test.go
"path/filepath" "testing" "time" "github.com/minio/minio/internal/cachevalue" ) type usageTestFile struct { name string size int } func TestDataUsageUpdate(t *testing.T) { base := t.TempDir() const bucket = "bucket" files := []usageTestFile{ {name: "rootfile", size: 10000}, {name: "rootfile2", size: 10000}, {name: "dir1/d1file", size: 2000}, {name: "dir2/d2file", size: 300},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0)