Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 40 for york (0.02 seconds)

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.finishCrawling = true;
            indexUpdater.destroy();
            // finishCrawling should be set when max empty list count is exceeded
            // In test environment this may not work as expected
            // assertTrue(indexUpdater.finishCrawling);
        }
    
        // Test addFinishedSessionId
        @Test
        public void test_addFinishedSessionId() {
            final String sessionId = "session123";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test that the exception has the correct serialVersionUID field
            ScriptEngineException exception = new ScriptEngineException("Serialization test");
    
            // Verify the exception can be created and basic properties work
            assertNotNull(exception);
            assertEquals("Serialization test", exception.getMessage());
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly maintained
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Set<String> getApiPingEsFieldSet() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            ScriptEngine retrievedByClass = scriptEngineFactory.getScriptEngine("testscriptengine");
            assertEquals(engine2, retrievedByClass);
    
            // But original names should still work
            assertEquals(engine1, scriptEngineFactory.getScriptEngine("name1"));
            assertEquals(engine2, scriptEngineFactory.getScriptEngine("name2"));
        }
    
        // Test with engine that has very long class name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

     */
    package org.codelibs.fess.util;
    
    /*
     * Licensed to the Apache Software Foundation (ASF) under one or more
     * contributor license agreements.  See the NOTICE file distributed with
     * this work for additional information regarding copyright ownership.
     * The ASF licenses this file to You under the Apache License, Version 2.0
     * (the "License"); you may not use this file except in compliance with
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("too many fields * * * * * * *", context));
            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        @Test
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertTrue(exception3.getCause() instanceof RuntimeException);
        }
    
        @Test
        public void test_constructorWithThrowableCause_NullError() {
            // Test with null Error (should work same as null Exception)
            String message = "SSO login error with null cause";
            Error nullError = null;
            SsoLoginException exception = new SsoLoginException(message, nullError);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

        }
    
        @Test
        public void test_intervalRule_isTarget_invalidDays() {
            IntervalRule rule = new IntervalRule("10:00", "18:00", "1,invalid,3", 1000);
    
            // Should still work with valid days
            assertTrue(rule.isTarget(12, 30, 1)); // 12:30 on Sunday
            assertTrue(rule.isTarget(12, 30, 3)); // 12:30 on Tuesday
            assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        @Test
        public void test_multipleRegistrations() {
            testScriptEngine.register();
            testScriptEngine.register(); // Register again
    
            // Should still work without errors
            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("testEngine");
            assertNotNull(retrieved);
            assertEquals(testScriptEngine, retrieved);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // Test with special characters in message
                WebApiUtil.setError(400, "Error with special chars: àáâãäåæçèéêë ñ 中文 🚀");
    
            } catch (Exception e) {
                fail("Error handling should work with edge cases: " + e.getMessage());
            }
        }
    
        @Test
        public void test_method_parameter_validation() {
            // Test that methods handle parameter validation appropriately
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top