Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 880 for assertEquals (0.12 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("ftp://123.123.123.123/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertEquals("test.txt", ftpInfo.getName());
            assertEquals("ftp://123.123.123.123/", ftpInfo.toUrl("/"));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(new BigDecimal("1"), BigDecimalConversionUtil.toBigDecimal(Byte.valueOf((byte) 1)));
            assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10)));
            assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            enc = null;
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = " ";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "UTF-8";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertNull(paramMap.get("xxx"));
            assertEquals("111", paramMap.get("aaa"));
            assertEquals("222", paramMap.get("aaa_bbb"));
            assertEquals("222", paramMap.get("aaaBbb"));
            assertEquals("222", paramMap.get("AaaBbb"));
            assertNull(paramMap.get("aaabbb"));
            assertEquals("333", paramMap.get("aaa_bbb_ccc"));
            assertEquals("333", paramMap.get("aaaBbbCcc"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals(10, spec.initialCapacity.intValue());
        assertEquals(20, spec.maximumSize.intValue());
        assertNull(spec.maximumWeight);
        assertEquals(30, spec.concurrencyLevel.intValue());
        assertEquals(Strength.WEAK, spec.keyStrength);
        assertEquals(Strength.WEAK, spec.valueStrength);
        assertEquals(HOURS, spec.writeExpirationTimeUnit);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(0, matcher.countIn(s));
      }
    
      private void reallyTestAllMatches(CharMatcher matcher, CharSequence s) {
        assertTrue(matcher.matches(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
        assertEquals(0, matcher.indexIn(s, 0));
        assertEquals(1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        assertEquals(s.length() - 1, matcher.lastIndexIn(s));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        Set<K> keySet = map.keySet();
        Collection<V> valueCollection = map.values();
        Set<Entry<K, V>> entrySet = map.entrySet();
    
        assertEquals(map.size() == 0, map.isEmpty());
        assertEquals(map.size(), keySet.size());
        assertEquals(keySet.size() == 0, keySet.isEmpty());
        assertEquals(!keySet.isEmpty(), keySet.iterator().hasNext());
    
        int expectedKeySetHash = 0;
        for (K key : keySet) {
          V value = map.get(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            content = "...;charset=Shift_JIS\"...";
            assertEquals("Shift_JIS", htmlTransformer.parseCharset(content));
    
            content = "...;Charset=Shift_JIS\"...";
            assertEquals("Shift_JIS", htmlTransformer.parseCharset(content));
    
            content = "...;charset=EUC-JP\"...";
            assertEquals("EUC-JP", htmlTransformer.parseCharset(content));
    
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, Iterators.size(registry.getSubscribers(1)));
    
        registry.register(new IntegerSubscriber());
        assertEquals(3, Iterators.size(registry.getSubscribers("")));
        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(2, Iterators.size(registry.getSubscribers(1)));
      }
    
      public void testGetSubscribers_returnsImmutableSnapshot() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        Map<Object, Object> unused4 = asyncReloader.loadAll(ImmutableList.of(new Object()));
        assertEquals(2, loadCount.get());
        assertEquals(1, reloadCount.get());
        assertEquals(2, loadAllCount.get());
    
        executor.runNext();
        assertEquals(2, loadCount.get());
        assertEquals(2, reloadCount.get());
        assertEquals(2, loadAllCount.get());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top