Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 825 for assertequal (0.08 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("text", mediaType.type)
        assertEquals("plain", mediaType.subtype)
        assertEquals("UTF-8", mediaType.charsetName())
        assertEquals("utf-8", mediaType.parameter("charset"))
        assertEquals("1", mediaType.parameter("a"))
        assertEquals("2", mediaType.parameter("b"))
        assertEquals("3", mediaType.parameter("c"))
        assertEquals("utf-8", mediaType.parameter("CHARSET"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. 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)
  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. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertNull(map.putIfAbsent("bar", 3));
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            String[] values = JvmUtil.filterJvmOptions(args);
            assertEquals("-X111", values[0]);
            assertEquals("-X222", values[1]);
            assertEquals("-X555", values[2]);
            assertEquals("-X999", values[3]);
    
            System.setProperty("java.version", "11.0.1");
            values = JvmUtil.filterJvmOptions(args);
            assertEquals("-X111", values[0]);
            assertEquals("-X444", values[1]);
            assertEquals("-X555", values[2]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
        assertEquals(a, navigableSet.floor(b));
        assertEquals(c, navigableSet.floor(c));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(1, frequency(set, "a"));
        assertEquals(1, frequency(set, "b"));
        assertEquals(1, frequency(set, "c"));
        assertEquals(0, frequency(set, "d"));
        assertEquals(0, frequency(set, 4.2));
        assertEquals(0, frequency(set, null));
      }
    
      public void testFrequency_list() {
        List<String> list = newArrayList("a", "b", "a", "c", "b", "a");
        assertEquals(3, frequency(list, "a"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertEquals(3, list.size());
            FacetQueryView view1 = list.get(0);
            assertEquals("labels.facet_timestamp_title", view1.getTitle());
            assertEquals(4, view1.getQueryMap().size());
            FacetQueryView view2 = list.get(1);
            assertEquals("labels.facet_contentLength_title", view2.getTitle());
            assertEquals(5, view2.getQueryMap().size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top