Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,612 for new2 (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            DictionaryExpiredException original = new DictionaryExpiredException();
    
            // Serialize
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            ObjectOutputStream oos = new ObjectOutputStream(baos);
            oos.writeObject(original);
            oos.close();
    
            // Deserialize
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

        }
    
        // Test execute with exception in booster
        public void test_execute_withException() {
            TestScoreBooster booster1 = new TestScoreBooster(100L);
            ExceptionScoreBooster booster2 = new ExceptionScoreBooster();
            TestScoreBooster booster3 = new TestScoreBooster(300L);
    
            scoreUpdater.addScoreBooster(booster1);
            scoreUpdater.addScoreBooster(booster2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

        }
    
        public void test_nestedCause() {
            // Test with nested exceptions
            RuntimeException rootCause = new RuntimeException("Root cause");
            ParseException parseException = new ParseException("Parse error");
            parseException.initCause(rootCause);
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertEquals(parseException, queryParseException.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        public void test_insert_multipleChains() {
            User user = createTestUser("testuser");
            TestAuthenticationChain chain1 = new TestAuthenticationChain();
            TestAuthenticationChain chain2 = new TestAuthenticationChain();
            TestAuthenticationChain chain3 = new TestAuthenticationChain();
    
            authenticationManager.addChain(chain1);
            authenticationManager.addChain(chain2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            // Test basic process execution
            TestWebApiManager manager = new TestWebApiManager("/api");
    
            TestHttpServletRequest request = new TestHttpServletRequest();
            request.setRequestURI("/api/test");
            TestHttpServletResponse response = new TestHttpServletResponse();
            TestFilterChain chain = new TestFilterChain();
    
            manager.process(request, response, chain);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.updateThrowsException = false;
    
            chain.update(null);
    
            assertEquals(1, chain.updateCalls.size());
            assertNull(chain.updateCalls.get(0));
        }
    
        // Test update with multiple calls
        public void test_update_multipleCalls() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Setup
            final String message = "Test SSO error message";
            final Exception cause = new RuntimeException("Test cause");
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, message, cause);
    
            // Verify
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

        // Test custom properties
        public void xtest_customProperties() {
            // Create custom FessEnv with custom properties
            FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.lasta_di_SMART_DEPLOY_MODE, "cool");
                    props.setProperty(FessEnv.DEVELOPMENT_HERE, "false");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

        }
    
        public void test_toSlackMessage_withLongContent() {
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    
            StringBuilder longSubject = new StringBuilder();
            StringBuilder longContent = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longSubject.append("Subject Line ").append(i).append(" ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
            assertNotNull(okResult);
    
            // Test BAD_REQUEST status
            ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result();
            assertNotNull(badRequestResult);
    
            // Test UNAUTHORIZED status
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top