Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 880 for assertEquals (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testOfToString() {
        assertEquals("[yam, bam, jam, ham]", FluentIterable.of("yam", "bam", "jam", "ham").toString());
      }
    
      public void testToString() {
        assertEquals("[]", FluentIterable.from(emptyList()).toString());
        assertEquals("[]", FluentIterable.<String>of().toString());
    
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

      public void testCommonPrefix() {
        assertEquals("", Strings.commonPrefix("", ""));
        assertEquals("", Strings.commonPrefix("abc", ""));
        assertEquals("", Strings.commonPrefix("", "abc"));
        assertEquals("", Strings.commonPrefix("abcde", "xyz"));
        assertEquals("", Strings.commonPrefix("xyz", "abcde"));
        assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        assertThrows(IllegalStateException.class, () -> sha1.hash());
      }
    
      public void testToString() {
        assertEquals("Hashing.md5()", Hashing.md5().toString());
        assertEquals("Hashing.sha1()", Hashing.sha1().toString());
        assertEquals("Hashing.sha256()", Hashing.sha256().toString());
        assertEquals("Hashing.sha512()", Hashing.sha512().toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.init();
            assertEquals(2, protocolHelper.getWebProtocols().length);
            assertEquals("http:", protocolHelper.getWebProtocols()[0]);
            assertEquals("https:", protocolHelper.getWebProtocols()[1]);
            assertEquals(2, protocolHelper.getFileProtocols().length);
            assertEquals("file:", protocolHelper.getFileProtocols()[0]);
            assertEquals("smb:", protocolHelper.getFileProtocols()[1]);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Callable<String> task = Callables.returning(RESULT_VALUE);
          Future<String> f = testExecutor.submit(task);
          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            factory.add(new TestIngester(2));
            factory.add(new TestIngester(3));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        public void test_add_2() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(3));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertEquals(216, webSafeColors.size());
        Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]);
        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertEquals(Integer.valueOf(20), map.get(10));
        assertEquals(Integer.valueOf(0), map.get(20));
        assertEquals(Integer.valueOf(1), map.get(30));
        assertEquals(Integer.valueOf(2), map.get(54));
        assertEquals(Integer.valueOf(3), map.get(443));
        assertEquals(Integer.valueOf(4), map.get(1));
        assertEquals(Integer.valueOf(5), cache.get(6));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top