Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for testKey (0.3 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test caching mechanism
        public void test_get_caching() {
            // Get property twice to test caching behavior
            String testKey = "domain.title";
            String value1 = fessConfig.get(testKey);
            String value2 = fessConfig.get(testKey);
    
            // Values should be the same
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        public void test_append_nullValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> null;
    
            monitorTarget.append(buf, "testKey", supplier);
            assertEquals("\"testKey\":null", buf.toString());
        }
    
        // Test append method with Integer value
        public void test_append_integerValue() {
            StringBuilder buf = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        public void test_setObject_noRequest() {
            // Test setObject when no HTTP request is available
            // This should not throw exception, just do nothing
            try {
                WebApiUtil.setObject("testKey", "testValue");
            } catch (Exception e) {
                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setObject_withNullName() {
    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/helper/SearchLogHelperTest.java

            source.put("TestKey", "value1");
            source.put("AnotherTestKey", "value2");
    
            Map<String, Object> nested = new HashMap<>();
            nested.put("NestedKey", "nestedValue");
            source.put("NestedMap", nested);
    
            Map<String, Object> result = searchLogHelper.toLowerHyphen(source);
    
            assertEquals("value1", result.get("test_key"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6K 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)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        private final transient ClassSanityTester tester;
    
        SerializableDummyProxy(ClassSanityTester tester) {
          this.tester = tester;
        }
    
        @Override
        <R> R dummyReturnValue(TypeToken<R> returnType) {
          return tester.getDummyValue(returnType);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        private final transient ClassSanityTester tester;
    
        SerializableDummyProxy(ClassSanityTester tester) {
          this.tester = tester;
        }
    
        @Override
        <R> R dummyReturnValue(TypeToken<R> returnType) {
          return tester.getDummyValue(returnType);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        for (@SuppressWarnings("unused") Object obj : iterable) {}
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Iterables.class);
      }
    
      // More exhaustive tests are in IteratorsTest.
      public void testElementsEqual() throws Exception {
        Iterable<?> a;
        Iterable<?> b;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

        return big.bitLength() <= 31;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top