Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 305 for existed (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        public void test_get_nullProperty() {
            // Test getting non-existent property
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with property that doesn't exist and default value
            cmdList.clear();
            execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null);
            assertEquals(1, cmdList.size());
            assertEquals("-Dnon.existent.property=default.value", cmdList.get(0));
    
            // Test with property that doesn't exist and no default value
            cmdList.clear();
    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/curl/io/ContentCacheTest.java

                // Expected - file no longer exists
            }
        }
    
        @Test
        public void testFileBasedCacheCloseNonExistentFile() {
            tempFile = new File(Curl.tmpDir, "non-existent-file.tmp");
            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            emptyDir.mkdirs();
            assertTrue(emptyDir.exists());
    
            // Simulate the behavior of postVisitDirectory - delete empty directories
            if (emptyDir.isDirectory() && emptyDir.list().length == 0) {
                emptyDir.delete();
            }
    
            assertFalse(emptyDir.exists());
        }
    
        // Test FilePurgeVisitor postVisitDirectoryWithException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.cancel(true);
                  if (!future.isDone()) {
                    errorMessage.set("Cancel call exited before future was complete.");
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectory(existingDir);
            Files.createFile(existingDir.resolve("test.txt"));
    
            assertTrue(Files.exists(existingDir));
            themeHelper.closeQuietly(existingDir);
            // Directory should be deleted
            assertFalse(Files.exists(existingDir));
        }
    
        public void test_closeQuietly_nestedDirectory() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertEquals(123, dataStoreParams.get("key2"));
    
            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertTrue(permissionDenied.getMessage().contains("Permission denied"));
    
            // Scenario 4: Exit code error
            CommandExecutionException exitCodeError = new CommandExecutionException("Command exited with non-zero code: 127");
            assertTrue(exitCodeError.getMessage().contains("non-zero code"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/RemovalCause.java

       * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}.
       */
      EXPIRED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry was evicted due to size constraints. This can occur when using {@link
       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                if (invalidCertFile != null && invalidCertFile.exists()) {
                    invalidCertFile.delete();
                }
            }
        }
    
        public void test_init_withNonExistentSSLCertificate() {
            setupMockConfig("localhost:9200", "", "", "/non/existent/cert.crt");
    
            curlHelper.init();
    
            // Should handle non-existent certificate gracefully
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top