Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for occur (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
    
            }
        }
    
        /**
         * Retrieves the access result data from an OpenSearch access result.
         * Handles exceptions that may occur during data retrieval.
         *
         * @param accessResult the access result to extract data from
         * @return the access result data, or null if retrieval fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

        public void test_constructor() {
            // Test that constructor creates instance without error
            PurgeLogJob job = new PurgeLogJob();
            assertNotNull(job);
        }
    
        // Test multiple exceptions occur
        @Test
        public void test_execute_multipleExceptions() {
            // Create mock services with exceptions
            CrawlingInfoService crawlingInfoService = new CrawlingInfoService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        /**
         * Parses the JWT claim and extracts attributes.
         *
         * @param jwtClaim the JWT claim string
         * @param attributes the attributes map to populate
         * @throws IOException if an I/O error occurs
         */
        protected void parseJwtClaim(final String jwtClaim, final Map<String, Object> attributes) throws IOException {
            try (final JsonParser jsonParser = jsonFactory.createJsonParser(jwtClaim)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * @return the serialized object as a byte array
         * @throws IllegalArgumentException if an unsupported serializer type is configured
         * @throws IORuntimeException if an I/O error occurs during serialization
         */
        public byte[] fromObjectToBinary(final Object obj) {
            final String serializer = getSerializerType();
            return switch (serializer) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
Back to Top