- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 476 for Shouldn (0.03 sec)
-
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0); // Verify the content contains thread information String content = new String(Files.readAllBytes(tempFile), Constants.CHARSET_UTF_8); assertTrue("Content should contain 'Thread:'", content.contains("Thread:"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
assertNotNull(request); // The request should be properly created - we can't easily verify headers without mocking framework } public void test_post() { setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.post("/test"); assertNotNull(request); // The request should be properly created } public void test_put() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
} }); MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser(); // Should return early without doing anything try { notificationHelper.sendToSlack(null, discloser); } catch (Exception e) { fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertNotNull(appType); // appType should be either empty string or the actual env value assertTrue(appType.isEmpty() || appType.length() > 0); } public void test_getOverrideConfPath() { // Test when app type is not docker OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath(); assertNotNull(confPath); // Should be empty when not docker app type
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode()); // Different inputs should have different hash code assertNotSame(item1.hashCode(), item3.hashCode()); // Same inputs but different output should have different hash code assertNotSame(item1.hashCode(), item4.hashCode()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
assertTrue("Should contain all keys", Arrays.asList(keys).contains("lang")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("a_key")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("b_key")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("c_key")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
try { SearchEngineUtil.class.getDeclaredConstructor().newInstance(); fail("Should not be able to instantiate utility class"); } catch (Exception e) { // Expected - utility classes should have private constructors assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
} } // An empty file should return no items assertEquals("Empty file should have no items", 0, result.size()); assertEquals("Empty file should have no records", 0, result.getAllRecordCount()); assertEquals("Empty file should have no pages", 0, result.getAllPageCount()); } // Test selectList method with valid data
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test default values public void test_defaultValues() throws Exception { assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage()); assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0)