Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_strings (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
        public void test_strings() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", new String[] { "aaa", "bbb" });
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                }
            };
    
            String[] testStrings = { "simple", "with spaces", "special!@#$%^&*()", "unicode_test", "", "very long string " + "x".repeat(100) };
    
            for (String testStr : testStrings) {
                String encrypted = cipher.encrypt(testStr);
                String decrypted = cipher.decrypt(encrypted);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test generic type safety of getObject method
            // Since we're in test environment without request context, this will return null
            String stringResult = WebApiUtil.getObject("testString");
            assertNull("Should return null in test environment", stringResult);
    
            Integer intResult = WebApiUtil.getObject("testInteger");
            assertNull("Should return null in test environment", intResult);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top