Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for test_path (0.48 sec)

  1. cmd/xl-storage_test.go

    	}
    
    	testCases := []struct {
    		srcVol      string
    		destVol     string
    		srcPath     string
    		destPath    string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "file1",
    			destPath:    "file-one",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		{
    			srcVol:      "src-vol",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertSame(execJob, result);
        }
    
        // Test logFilePath setter
        public void test_logFilePath() {
            String testPath = "/path/to/log";
            ExecJob result = execJob.logFilePath(testPath);
            assertEquals(testPath, execJob.logFilePath);
            assertSame(execJob, result);
        }
    
        // Test logLevel setter
        public void test_logLevel() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            }
        }
    
        // Test with different path values
        public void test_differentPathValues() {
            String[] testPaths = { "/", "/app", "/test/path", "/a/b/c/d", "" };
    
            for (String path : testPaths) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                    private static final long serialVersionUID = 1L;
    
                    @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
                trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

            when(session.getAttribute("npa-workgroup")).thenReturn(auth);
    
            // Test various path formats
            String[] testPaths = { "/", "/workgroup/", "/workgroup/server/", "/workgroup/server/share/", "/workgroup/server/share/file.txt" };
    
            for (String path : testPaths) {
                when(request.getPathInfo()).thenReturn(path);
    
                assertDoesNotThrow(() -> networkExplorer.doGet(request, response));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        public void test_put() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.put("/test");
    
            assertNotNull(request);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999)));
            assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class));
        }
    
        public void test_date() {
            Map<String, Object> doc = new HashMap<>();
    
            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle empty data array")
            void testEmptyDataArray() {
                byte[] emptyData = new byte[0];
                byte[] name = "TEST_DATA".getBytes(StandardCharsets.UTF_8);
                TestCreateContextRequest request = new TestCreateContextRequest(name, emptyData);
    
                assertNotNull(request.getData());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                    // The destination path should be relative to the share
                    String destPath = dest.getUncPath();
                    // Remove leading backslash if present
                    if (destPath.startsWith("\\")) {
                        destPath = destPath.substring(1);
                    }
    
                    // Open the source file for renaming
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top