- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 880 for assertEquals (0.11 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
for (Entry<K, V> entry : map.entrySet()) { assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString()); assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
StringBuilder builder = new StringBuilder(); assertEquals(expected.length(), source.copyTo(builder)); assertExpectedString(builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink(); assertEquals(expected.length(), source.copyTo(sink)); assertExpectedString(sink.getString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); assertEquals("Writer", extractData.getValues("Creator")[0]); assertEquals("OpenOffice.org 3.0", extractData.getValues("Producer")[0]); assertEquals("D:20090627222631+09'00'", extractData.getValues("CreationDate")[0]); } public void test_getText_pass() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (int i = 0; i < 10; i++) { assertEquals(unfiltered.lower(i), filtered.lower(i)); assertEquals(unfiltered.floor(i), filtered.floor(i)); assertEquals(unfiltered.ceiling(i), filtered.ceiling(i)); assertEquals(unfiltered.higher(i), filtered.higher(i)); } } } } private FilteredCollectionsTestUtil() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
/** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja")); assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertMapsEqual(expected, map); assertEquals(expected.get("a"), map.get("a")); assertEquals(expected.containsKey("a"), map.containsKey("a")); assertEquals(expected.get("b"), map.get("b")); assertEquals(expected.containsKey("b"), map.containsKey("b")); assertEquals(expected.get("c"), map.get("c")); assertEquals(expected.containsKey("c"), map.containsKey("c")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.4K bytes - Viewed (0)