Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,386 for different (0.17 seconds)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

                assertEquals(expectedCause, e.getCause());
            }
        }
    
        @Test
        public void test_multipleExceptions_differentStatusCodes() {
            // Test creating multiple exceptions with different status codes
            WebApiException exception1 = new WebApiException(400, "Bad Request");
            WebApiException exception2 = new WebApiException(401, "Unauthorized");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            executor2.shutdown();
            assertEquals(1, counter1.get());
            assertEquals(1, counter2.get());
        }
    
        @Test
        public void test_execute_differentScriptTypes() {
            // Test different script types
            Object result = jobExecutor.execute("javascript", "console.log('test')");
            assertEquals("Executed: javascript console.log('test')", result);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        }
    
        @Test
        public void test_execute_caseInsensitiveScriptType() {
            // Setup test script engine
            scriptEngineFactory.add("TestEngine", testScriptEngine);
    
            // Execute with different case variations
            Object result1 = scriptExecutor.execute("testengine", "script1");
            assertEquals("processed: script1", result1);
    
            Object result2 = scriptExecutor.execute("TESTENGINE", "script2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            params.put("x", 10);
            params.put("y", 20);
            assertEquals(30, groovyEngine.evaluate("return x + y", params));
        }
    
        /**
         * Test that multiple parameters of different types are bound correctly
         */
        @Test
        public void test_evaluate_multipleParameterTypes() {
            final Map<String, Object> params = new HashMap<>();
            params.put("str", "hello");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            assertEquals("test", list.get(1));
    
        }
    
        @Test
        public void test_setMaxGroupDepth() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    
            // Test setting different max group depths
            authenticator.setMaxGroupDepth(5);
            authenticator.setMaxGroupDepth(20);
            authenticator.setMaxGroupDepth(1);
    
            // Verify method accepts valid values without exception
    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)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            assertTrue(result.contains("TestScoreBooster : 100"));
            assertTrue(result.contains("Test exception"));
            assertTrue(result.contains("TestScoreBooster : 300"));
        }
    
        // Test addScoreBooster with different priorities
        @Test
        public void test_addScoreBooster_sortsByPriority() {
            PriorityTrackingBooster booster1 = new PriorityTrackingBooster(1, 100L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
            byte[] dst = new byte[20];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.java

     *
     * <p>Duplicate hosts allow administrators to define hostname patterns that should
     * be treated as equivalent during crawling, helping to avoid duplicate content
     * from the same logical site accessed via different hostnames.</p>
     */
    public class DuplicateHostPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /** Default page size for pagination. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

              // enabled this setting and run the format check again,
              // Spotless will write files to
              // `$PROJECT/build/spotless-diagnose-java/` to aid diagnosis. It writes
              // different copies of the formatted files, so that you can see how they
              // differ and infer what is the problem.
    
              // The `paddedCell()` option is disabled for normal operation so that any
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class MapGenerators {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top