Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 468 for properly (0.63 sec)

  1. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            // The exception should be serializable since it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
            // Test stack trace is properly set
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // Note: Full testing requires a running OpenSearch cluster
            assertTrue(true);
        }
    
        public void test_fieldSetConfiguration() {
            // Test that field set configuration is properly handled
            Set<String> fieldSet = new HashSet<>();
            fieldSet.add("cluster_name");
            fieldSet.add("status");
    
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          byte[] got = out.toByteArray();
          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
      private static class Control extends AbstractNonStreamingHashFunction {
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            assertEquals(1, dataMap.size());
            assertEquals("Z1", dataMap.get("z"));
        }
    
        /** Case 5: Overwrite processing for multiple fields, existing overwrite keys are also properly removed */
        public void test_mergeResponseData_multipleOverwrite() {
            Map<String, Object> dataMap = new HashMap<>();
            // Case where the initial dataMap also contains overwrite keys
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result handles null message properly
            assertNotNull(result);
            assertTrue(result.contains("null"));
            assertTrue(result.endsWith("\n"));
        }
    
        public void test_execute_withNestedExceptionCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
            String message = "Stack trace test";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            assertNotNull(exception.getStackTrace());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest()
                    .filter(req -> req.getCharacterEncoding() != null)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            public static void shutdownAll() {
                throw new RuntimeException("Simulated exception during shutdown");
            }
        }
    
        // Test to verify the logger field is properly initialized
        public void test_loggerFieldInitialization() throws Exception {
            // Use reflection to access the private logger field
            Field loggerField = FessCurtainFinallyHook.class.getDeclaredField("logger");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

                    // Empty implementation for test
                }
            };
            // Should not throw exception
            invokerAssistant.toBeDisposable(process);
        }
    
        // Test static constants are properly initialized
        public void test_staticConstants() {
            // Test DEFAULT_CLIENT_INVOKE_NAMES
            String[] clientNames = ImplementedInvokerAssistant.DEFAULT_CLIENT_INVOKE_NAMES;
            assertNotNull(clientNames);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top