- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 72 for sekond (0.04 seconds)
-
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
List<LogNotificationEvent> first = helper.drainAll(); assertEquals(1, first.size()); List<LogNotificationEvent> second = helper.drainAll(); assertTrue(second.isEmpty()); } @Test public void test_offer_bufferCapacity() { LogNotificationHelper helper = new LogNotificationHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
assertEquals(2, callbackResults.size()); assertEquals("integration test", callbackResults.get(0)); assertEquals("second line", callbackResults.get(1)); String output = thread.getOutput(); assertTrue(output.contains("integration test")); assertTrue(output.contains("second line")); } @Test public void test_defaultBufferSizeConstant() throws IOException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
String first = "first"; String second = "second"; String componentName = "testComponent"; ComponentUtil.register(first, componentName); String retrieved1 = ComponentUtil.getComponent(componentName); assertSame(first, retrieved1); ComponentUtil.register(second, componentName); String retrieved2 = ComponentUtil.getComponent(componentName);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertEquals("Store2", names[1]); assertEquals(1, loadCount[0]); // Second immediate call should use cache names = testFactory.getDataStoreNames(); assertEquals(2, names.length); assertEquals(1, loadCount[0]); // Should not increment // Simulate time passing (more than 60 seconds) testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/LogNotificationJob.java
bulkDelete.add(client.prepareDelete().setIndex(indexName).setId(docId)); } bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout()); // Delete any remaining events beyond the search size limit (discard overflow) try { client.deleteByQuery(indexName, QueryBuilders.termQuery("hostname", hostname)); } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
InvertibleCryptographer first = securityResourceProvider.providePrimaryInvertibleCryptographer(); InvertibleCryptographer second = securityResourceProvider.providePrimaryInvertibleCryptographer(); assertNotNull(first); assertNotNull(second); assertSame(first, second); assertSame(invertibleCryptographer, first); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
TestScriptEngine engine1 = new TestScriptEngine("first"); TestScriptEngine engine2 = new TestScriptEngine("second"); scriptEngineFactory.add("test", engine1); scriptEngineFactory.add("test", engine2); // Should get the second engine ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("test"); assertEquals(engine2, retrieved); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/JobLogTest.java
public void test_setId_overwriteExisting() { final JobLog jobLog = new JobLog(); jobLog.setId("first-id"); assertEquals("first-id", jobLog.getId()); jobLog.setId("second-id"); assertEquals("second-id", jobLog.getId()); } @Test public void test_setId_withUuidFormat() { final JobLog jobLog = new JobLog(); final String uuidNoHyphens = "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} catch (Exception e) { // Expected } long duration = System.currentTimeMillis() - startTime; // Test should complete in under 1 second (much less than the original 25+ seconds) assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000); } // Fast mock implementations to minimize overhead
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("Second group should be AnotherTestGroup", AnotherTestGroup.class, multiAnnotation.groups()[1]); assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length); assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0)