Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 77 for nonExistent (0.06 seconds)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        }
    
        @Test
        public void test_replaceUrl_withNonExistentSessionId() {
            final String url = "file:///home/user/";
            assertEquals(url, pathMappingHelper.replaceUrl("nonexistent", url));
        }
    
        @Test
        public void test_replaceUrl_withEmptyList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

        }
    
        @Test
        public void test_getMatchedLabelValueSet_emptyPatternList() {
            // Test with empty pattern list
            Set<String> result = labelTypeHelper.getMatchedLabelValueSet("/nonexistent/path");
            assertNotNull(result);
        }
    
        @Test
        public void test_getMatchedLabelValueSet_nullPath() {
            try {
                labelTypeHelper.getMatchedLabelValueSet(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        }
    
        @Test
        public void test_getMapValue_missing() {
            final Map<String, Object> map = Map.of("key", "value");
            assertNull(coordinatorHelper.getMapValue(map, "nonexistent"));
        }
    
        @Test
        public void test_getListValue_exists() {
            final List<Map<String, Object>> list = List.of(Map.of("id", "1"), Map.of("id", "2"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified path. Note that if
       * this operation fails, it may have succeeded in creating some (but not all) of the necessary
       * parent directories. The parent directory is created with the given {@code attrs}.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            ComponentUtil.register(mockJobManager, JobManager.class.getCanonicalName());
    
            final ScheduledJob scheduledJob = new ScheduledJob();
            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  6. internal/config/certs_test.go

    		t.Fatalf("Unable to create temporary file. %v", err)
    	}
    	defer os.Remove(tempFile5)
    
    	testCases := []struct {
    		certFile          string
    		expectedResultLen int
    		expectedErr       bool
    	}{
    		{"nonexistent-file", 0, true},
    		{tempFile1, 0, true},
    		{tempFile2, 0, true},
    		{tempFile3, 0, true},
    		{tempFile4, 1, false},
    		{tempFile5, 2, false},
    	}
    
    	for _, testCase := range testCases {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            assertNotNull(authenticator);
            assertEquals(testAuthenticator, authenticator);
        }
    
        @Test
        public void test_getAuthenticator_whenComponentDoesNotExist() {
            currentSsoType = "nonexistent";
            ssoManager = new SsoManager() {
                @Override
                protected String getSsoType() {
                    return currentSsoType;
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            }
        }
    
        @Test
        public void test_writeThreadDump_withInvalidPath() {
            // Test with invalid file path (directory that doesn't exist)
            String invalidPath = "/nonexistent/directory/thread-dump.txt";
    
            try {
                ThreadDumpUtil.writeThreadDump(invalidPath);
                // Should not throw exception but log warning
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. cmd/xl-storage_test.go

    // TestXLStorages xlStorage.getDiskInfo()
    func TestXLStorageGetDiskInfo(t *testing.T) {
    	path := t.TempDir()
    
    	testCases := []struct {
    		diskPath    string
    		expectedErr error
    	}{
    		{path, nil},
    		{"/nonexistent-dir", errDiskNotFound},
    	}
    
    	// Check test cases.
    	for _, testCase := range testCases {
    		if _, _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
       * this operation fails it may have succeeded in creating some (but not all) of the necessary
       * parent directories.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
       *     directories of the specified file could not be created.
       * @since 4.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
Back to Top