- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 56 for testable (0.17 seconds)
-
src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java
assertEquals("long", Constants.MAPPING_TYPE_LONG); assertEquals("double", Constants.MAPPING_TYPE_DOUBLE); assertEquals("date", Constants.MAPPING_TYPE_DATE); } /** * Testable implementation of AbstractFessFileTransformer for unit testing. */ private static class TestableAbstractFessFileTransformer extends AbstractFessFileTransformer {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java
return "OK"; } }; ComponentUtil.register(jobExecutor, "scriptJobExecutor"); } /** * Testable subclass that exposes the protected process() method. */ private static class TestableScriptExecutorJob extends ScriptExecutorJob { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13.7K bytes - Click Count (0) -
gradlew
# * functions; # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», # «${var#prefix}», «${var%suffix}», and «$( cmd )»; # * compound commands having a testable exit status, especially «case»; # * various built-in commands including «command», «set», and «ulimit». # # Important for patching: # # (2) This script targets any POSIX shell, so it avoids extensions providedCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 08:59:10 GMT 2026 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
// No interference should occur (just verify no critical errors) assertTrue("Multiple scheduled tasks should not interfere with each other", true); } /** * Testable subclass of EntraIdAuthenticator for testing purposes. */ private static class TestableEntraIdAuthenticator extends EntraIdAuthenticator { AtomicBoolean scheduleParentGroupLookupCalled = new AtomicBoolean(false);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
// Helper Classes // ================ /** * Testable subclass that bypasses ComponentUtil dependencies. * This allows testing the filter logic without requiring the DI container. */ private static class TestableLoadControlFilter extends LoadControlFilter {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
public void test_getName_returnsGroovy() { final TestableGroovyEngine testEngine = new TestableGroovyEngine(); assertEquals("groovy", testEngine.testGetName()); } /** * Testable GroovyEngine subclass for testing protected methods */ static class TestableGroovyEngine extends GroovyEngine { boolean logScriptExecutionCalled = false; String lastLoggedScript = null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
chatClient.resetSearchDocumentsCalled(); final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent"); assertTrue(result.isEmpty()); } // ========== Testable subclass ========== static class TestableChatClient extends ChatClient { private boolean searchDocumentsCalled = false; private final List<String> searchedQueries = new ArrayList<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
return 3; } }); helper.tryStartOperation("test_op", null); assertEquals(3, passedRetries.get()); } /** * Creates a testable CoordinatorHelper that overrides tryStartOperation(name,data,retries) * to simulate "create always fails" (no OpenSearch), preserving the retry/cleanup dispatch logic. */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) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
assertEquals("Q2", request.getMessages().get(0).getContent()); assertEquals("Q3", request.getMessages().get(1).getContent()); } // ========== Testable subclass ========== @FunctionalInterface interface StreamChatCapture { void capture(LlmChatRequest request, LlmStreamCallback callback); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
} void initTable(AtomicReferenceArray<ReferenceEntry<K, V>> newTable) { this.threshold = newTable.length() * 3 / 4; // 0.75 if (!map.customWeigher() && this.threshold == maxSegmentWeight) { // prevent spurious expansion before eviction this.threshold++; } this.table = newTable; } @GuardedBy("this")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0)