Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestValue (0.07 sec)

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

            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
        public void test_ofNullable_withMap() {
            Map<String, Object> testValue = new HashMap<>();
            testValue.put("key1", "value1");
            testValue.put("key2", 42);
    
            OptionalEntity<Map<String, Object>> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                        "https://search.domain.com:443" };
    
                for (String testValue : testValues) {
                    System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, testValue);
                    String result = SystemUtil.getSearchEngineHttpAddress();
                    assertEquals(testValue, result);
                }
            } finally {
                // Restore original value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setObject("testKey", "testValue");
            } catch (Exception e) {
                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setObject_withNullName() {
            // Test setObject with null name
            try {
                WebApiUtil.setObject(null, "testValue");
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            }
        }
    
        // Test sendMail method
        public void test_sendMail_withNotificationDisabled() {
            Map<String, String> infoMap = new HashMap<>();
            infoMap.put("TestKey", "TestValue");
    
            // Should not throw exception when notification is disabled
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top