Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_setAndGetAsLong (0.16 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            String key = "key";
            int value = 1;
            settings.set(key, value);
            assertEquals(value, settings.getAsInt(key, -1));
        }
    
        @Test
        public void test_setAndGetAsLong() {
            String key = "key";
            long value = Long.MAX_VALUE;
            settings.set(key, value);
            assertEquals(value, settings.getAsLong(key, -1));
        }
    
        @Test
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top