Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_getDefaultValue() {
            assertEquals("others", fileTypeHelper.getDefaultValue());
        }
    
        public void test_setDefaultValue() {
            fileTypeHelper.setDefaultValue("unknown");
            assertEquals("unknown", fileTypeHelper.getDefaultValue());
    
            // Test that get() returns new default value
            assertEquals("unknown", fileTypeHelper.get("non/existent"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY;
            } catch (final Exception e) {
                return StringUtil.EMPTY;
            }
        }
    
        private String getDefaultMaxKey() {
            try {
                final Method method = CustomSize.class.getMethod("maxKey");
                final Object defaultValue = method.getDefaultValue();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            return filetype;
        }
    
        /**
         * Gets the default file type value used when MIME type is not found.
         *
         * @return the default file type value
         */
        public String getDefaultValue() {
            return defaultValue;
        }
    
        /**
         * Sets the default file type value to use when MIME type is not found.
         *
         * @param defaultValue the new default file type value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

                final Method method = UriType.class.getMethod("protocolType");
                assertNotNull("protocolType method should exist", method);
                assertNull("protocolType should not have default value", method.getDefaultValue());
            } catch (final NoSuchMethodException e) {
                fail("protocolType method should exist");
            }
        }
    
        // Test annotation hashCode and equals behavior
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        @Nullable Object[] args = new Object[params.size()];
    
        for (int i = 0; i < args.length; i++) {
          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top