Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for verifyCn (0.04 sec)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            corsHandlerFactory.add(specificOrigin, specificHandler);
            corsHandlerFactory.add("*", wildcardHandler);
    
            // Execute & Verify - specific origin should return specific handler
            assertEquals(specificHandler, corsHandlerFactory.get(specificOrigin));
    
            // Execute & Verify - unknown origin should return wildcard handler
            assertEquals(wildcardHandler, corsHandlerFactory.get("https://unknown.com"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/VerifyTest.java

    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify that the cause is correctly set
            assertNotNull(runtimeException);
            assertEquals(servletException, runtimeException.getCause());
    
            // Verify that the message is preserved from the cause
            assertTrue(runtimeException.getMessage().contains(ServletException.class.getName()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            String scriptType = "test";
            String script = "test script content";
            Object result = scriptExecutor.execute(scriptType, script);
    
            // Verify result
            assertEquals("processed: test script content", result);
    
            // Verify executor was passed in params
            Map<String, Object> lastParams = testScriptEngine.getLastParams();
            assertNotNull(lastParams);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            RequestManager mockRequestManager = createMockRequestManager("en_US");
    
            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify
            assertTrue(result.isPresent());
            assertEquals(Locale.US, result.get());
        }
    
        // Test findBusinessLocale with Japanese locale
        public void test_findBusinessLocale_withJapaneseLocale() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K 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 is empty string on success
            assertNotNull(result);
            assertEquals("", result);
        }
    
        public void test_execute_withException() {
            // Setup mock SearchLogHelper that throws exception
    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/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Verify logger is not null
            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
        public void test_hook_concurrentExecution() throws Exception {
            final FwAssistantDirector assistantDirector = createMockAssistantDirector();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            QueryBuilder result = queryCommand.convertPhraseQuery(context, phraseQuery, 1.0f);
    
            assertNotNull(result);
            assertTrue(result instanceof DefaultQueryBuilder);
    
            // Verify query was processed
            // Note: Field logging behavior depends on implementation
        }
    
        public void test_convertPhraseQuery_singleTerm_defaultField_dismax() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback.commit();
    
            // Verify documents were sent
            assertEquals(1, indexingHelper.sendDocumentsCalled);
            assertEquals(0, indexUpdateCallback.docList.size());
        }
    
        public void test_commit_withEmptyCache() {
            // Execute commit with no documents
            indexUpdateCallback.commit();
    
            // Verify no indexing happened
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

        public void test_constructor() {
            // Verify suffix is set correctly
            assertEquals(PagerCreator.SUFFIX, "Pager");
    
            // Verify name suffix is set
            assertEquals("Pager", pagerCreator.getNameSuffix());
    
            // Verify instance def is SESSION
            assertEquals(InstanceDefFactory.SESSION, pagerCreator.getInstanceDef());
    
            // Verify auto binding def is NONE
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top