- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 96 for tentang (0.09 seconds)
-
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertTrue(largeStringOpt.isPresent()); assertEquals(10000, largeStringOpt.get().length()); } // Custom test class for object testing private static class CustomTestObject { private final String name; private final int value; public CustomTestObject(String name, int value) { this.name = name;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
*/ @Test public void test_searchOptionsMenuLabels() { assertEquals("{labels.searchoptions_menu_labels}", FessLabels.LABELS_searchoptions_menu_labels); } /** * Interface for testing protected methods */ private interface FessLabelsTestAccessor { void testAssertPropertyNotNull(String property); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
FessUserBean emptyBean = FessUserBean.empty(); assertTrue(emptyBean instanceof java.io.Serializable); } // Test implementation of FessUser interface for testing private static class TestFessUser implements FessUser { private static final long serialVersionUID = 1L; private String name; private String[] roleNames = new String[0];
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account"))); } @Test public void test_getAccountId_smb1_basic() throws SmbException { // Note: SMB1 SID testing is limited due to interface constraints // This test verifies the method exists and handles the SMB1 SID parameter type ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
} return value; } /** * Gets the Entra ID tenant ID from configuration. * Uses new entraid.tenant key with fallback to legacy aad.tenant. * @return The tenant ID. */ protected String getTenant() { String value = ComponentUtil.getFessConfig().getSystemProperty(ENTRAID_TENANT);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
} /** * Test that delayForWaitingNewUrl doesn't throw exceptions * This tests the improved error handling with proper logging * Note: This is a basic smoke test since full integration testing * requires ComponentUtil and other dependencies */ @Test public void test_delayForWaitingNewUrl_noExceptions() { FessIntervalController controller = new FessIntervalController();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
assertEquals(Integer.valueOf(Integer.MAX_VALUE), executionOrder.get(1)); assertEquals(Integer.valueOf(0), executionOrder.get(2)); } // Test class for basic testing private static class TestScoreBooster extends ScoreBooster { private final long returnValue; public TestScoreBooster(long returnValue) { this.returnValue = returnValue; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
helper.delayByRules(); end = System.currentTimeMillis(); assertTrue(end - start < 50); // Should return quickly // Test with rule that has delay (we'll use a very short delay for testing) helper.ruleList.clear(); helper.addIntervalRule("12:00", "13:00", "*", 10); start = System.currentTimeMillis(); helper.delayByRules(); end = System.currentTimeMillis();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Hook should handle null parameter gracefully curtainFinallyHook.hook(null); // Verify no NullPointerException is thrown assertTrue(true); } // Mock class for testing exception scenarios private static class MockMultiThreadedHttpConnectionManager { public static void shutdownAll() { throw new RuntimeException("Simulated exception during shutdown"); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
mockRequest.setQueryString("page=1"); assertEquals(customPath, webApiRequest.getServletPath()); } // Simple mock implementation of HttpServletRequest for testing private static class MockHttpServletRequest implements HttpServletRequest { private String queryString; private String servletPath; private String method = "GET";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0)