- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 880 for assertEquals (0.08 sec)
-
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
return singletonMap(key, value).entrySet().iterator().next(); } public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString()); assertEquals("foo=null", entry("foo", NV).toString()); assertEquals("null=null", entry(NK, NV).toString()); } public void testEquals() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertEquals("Foo", new ClassInfo(FILE, "Foo.class", classLoader).getSimpleName()); assertEquals("Foo", new ClassInfo(FILE, "a/b/Foo.class", classLoader).getSimpleName()); assertEquals("Foo", new ClassInfo(FILE, "a/b/Bar$Foo.class", classLoader).getSimpleName()); assertEquals("", new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1))); assertEquals(-1, head.lastIndexOf(list.get(size - 1))); assertEquals(-1, tail.lastIndexOf(list.get(0))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1))); assertEquals(-1, head.lastIndexOf(list.get(size - 1))); assertEquals(-1, tail.lastIndexOf(list.get(0))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; class CLIReportingUtilsTest { @Test void testFormatDuration() { assertEquals("0.001 s", CLIReportingUtils.formatDuration(1)); assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1)); assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000)); assertEquals("59.999 s", CLIReportingUtils.formatDuration(60 * 1000 - 1));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java
assertEquals("", normalizeText("", 100, -1, 2, false)); assertEquals("", normalizeText(" ", 100, -1, 2, false)); assertEquals("", normalizeText(" ", 100, -1, 2, false)); assertEquals("", normalizeText("\t", 100, -1, 2, false)); assertEquals("", normalizeText("\t\t", 100, -1, 2, false)); assertEquals("", normalizeText("\t \t", 100, -1, 2, false));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
} public void testEmpty() { assertEquals(0, ImmutableTypeToInstanceMap.of().size()); } public void testPrimitiveAndWrapper() { ImmutableTypeToInstanceMap<Number> map = ImmutableTypeToInstanceMap.<Number>builder() .put(Integer.class, 0) .put(int.class, 1) .build(); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(Integer.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
assertNotNull(node); assertEquals("http://maven.apache.org/POM/4.0.0", node.getNamespaceUri()); assertEquals("m", node.getPrefix()); assertEquals("configuration", node.getName()); assertEquals(1, node.getChildren().size()); XmlNode myConfig = node.getChildren().get(0); assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
settings.array().add(key, value3); assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]); assertEquals(value2, settings.array().get(key)[1]); assertEquals(value3, settings.array().get(key)[2]); settings.array().delete(key, value2); assertEquals(2, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0)