Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for teststring (0.1 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          testExceptionPropagation(interfaceType, method, wrapperFunction);
        }
        if (testsEquals) {
          testEquals(interfaceType, wrapperFunction);
        }
        testToString(interfaceType, wrapperFunction);
      }
    
      /** Returns the most concrete public methods from {@code type}. */
      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @return 指定されたキーの文字列。{@literal null}や空文字列であってはいけません
         * @see ResourceBundle#getString(String)
         */
        public static String getString(final ResourceBundle bundle, final String key) {
            assertArgumentNotNull("bundle", bundle);
            assertArgumentNotEmpty("key", key);
    
            try {
                return bundle.getString(key);
            } catch (final Throwable t) {
                return null;
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    }
                    break;
                case 1:// Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
                    this.serverRealm = derRealm.getString();
                    break;
                case 2:// Principal
                    ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/message/MessageFormatter.java

                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
                    return pattern;
                }
            }
            return resourceBundle.getString(messageCode);
        }
    
        /**
         * システム名を返します。
         *
         * @param messageCode
         *            メッセージコード
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/xml/DomUtilTest.java

            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
            assertFalse(docBoostMatcher.match(map));
        }
    
        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, testData);
            assertThat(FieldUtil.getString(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetStringFieldObject() throws Exception {
            final Field field = getClass().getField("STRING_DATA");
            assertThat(FieldUtil.getString(field), is(STRING_DATA));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          testExceptionPropagation(interfaceType, method, wrapperFunction);
        }
        if (testsEquals) {
          testEquals(interfaceType, wrapperFunction);
        }
        testToString(interfaceType, wrapperFunction);
      }
    
      /** Returns the most concrete public methods from {@code type}. */
      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getString(Field, Object)
         */
        public static String getString(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getString(field, null);
        }
    
        /**
         * {@link Field}の値を {@link String}として取得します。
         *
         * @param field
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "enim, at feugiat leo magna nec libero. Mauris quis odio eget nisl rutrum cursus nec "
              + "eget augue. Sed nec arcu sem. In hac habitasse platea dictumst.";
    
      static final ImmutableMap<String, String> TEST_STRINGS =
          ImmutableMap.<String, String>builder()
              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top