Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for occur (0.03 seconds)

  1. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            TermQuery termQuery3 = new TermQuery(new Term("field3", "value3"));
    
            boolQueryBuilder.add(termQuery1, BooleanClause.Occur.MUST);
            boolQueryBuilder.add(termQuery2, BooleanClause.Occur.SHOULD);
            boolQueryBuilder.add(termQuery3, BooleanClause.Occur.MUST_NOT);
            BooleanQuery booleanQuery = boolQueryBuilder.build();
    
            QueryContext context = new QueryContext("test", false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

                Class<? extends RootAction> actionClass2 = exception2.getActionClass();
                assertNotNull(actionClass2);
    
                // No ClassCastException should occur
            } catch (ClassCastException e) {
                fail("ClassCastException should not occur: " + e.getMessage());
            }
        }
    
        @Test
        public void test_genericTypeSafety_verifyInheritance() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("Thumbnail Process terminated."));
            } catch (NullPointerException e) {
                // May occur if ServletContext is not fully initialized
                // This is acceptable in test environment
            }
        }
    
        // Test executeThumbnailGenerator with timeout
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

         *
         * @param paramMap the data store parameters
         * @param dataMap the document data to store
         * @throws DataStoreException if required fields are missing or other errors occur
         */
        @Override
        public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            latch.await(10, TimeUnit.SECONDS);
            assertFalse("No unexpected errors should occur during concurrent access", errorOccurred.get());
        }
    
        /**
         * Test that default groups and roles are preserved during lazy loading.
         */
        @Test
    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)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            assertTrue(result);
            assertEquals("No indices should be created with empty targets", 0, testClient.createdIndices.size());
            assertEquals("No reindex should occur with empty targets", 0, testClient.reindexPairs.size());
        }
    
        // ==========================================================================
        // reindexConfigIndices - atomic alias switching
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            assertNotNull(result);
            assertTrue(result.contains("Session Id:"));
            assertNotNull(suggestJob.sessionId);
            assertEquals(15, suggestJob.sessionId.length());
            // Cache clearing may not always occur in test environment
            // The real behavior depends on the actual SuggestJob implementation
        }
    
        // Test execute method with failure
        @Test
        public void test_execute_failure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                        for (int j = 0; j < urlsPerThread; j++) {
                            // Access is synchronized internally in the actual implementation
                            // Here we just verify no concurrent modification exceptions occur
                            String url = "http://example.com/thread" + threadIndex + "/doc" + j;
                            // Simulate the synchronized access that happens in deleteDocument()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            boolBuilder.add(new TermQuery(new Term("title", "fess")), BooleanClause.Occur.MUST);
            boolBuilder.add(new PrefixQuery(new Term("content", "search")), BooleanClause.Occur.SHOULD);
            boolBuilder.add(new WildcardQuery(new Term("url", "*.html")), BooleanClause.Occur.MUST_NOT);
            BooleanQuery boolQuery = boolBuilder.build();
            BoostQuery boostQuery = new BoostQuery(boolQuery, 5.5f);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // This test verifies that ProtwordsUpdater constructor properly handles exceptions
            // The actual exception handling is tested by ensuring the updater can be created
            // and properly closed even when errors might occur
    
            protwordsFile.reload(null);
    
            // Test normal creation and cleanup of ProtwordsUpdater
            ProtwordsItem testItem = new ProtwordsItem(0, "testWord");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
Back to Top