- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 880 for assertEquals (0.08 sec)
-
guava-tests/test/com/google/common/collect/HashBiMapTest.java
assertNull(bimap.put(2 * i, 2 * i + 1)); } for (int i = 0; i < N; i++) { assertEquals(2 * i + 1, (int) bimap.get(2 * i)); } for (int i = 0; i < N; i++) { assertEquals(2 * i, (int) inverse.get(2 * i + 1)); } for (int i = 0; i < N; i++) { int oldValue = bimap.get(2 * i); assertEquals(2 * i + 1, (int) bimap.put(2 * i, oldValue - 2)); } for (int i = 0; i < N; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception { final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST")); final Calendar local = CalendarConversionUtil.localize(calendar); assertEquals(TimeZone.getDefault(), local.getTimeZone()); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
SimpleProblemCollector problems = new SimpleProblemCollector(); assertEquals(active, activator.isActive(new org.apache.maven.model.Profile(profile), context, problems)); assertEquals(0, problems.getErrors().size(), problems.getErrors().toString()); assertEquals(0, problems.getWarnings().size(), problems.getWarnings().toString()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
Iterator<Integer> iterator = bimap.keySet().iterator(); iterator.next(); iterator.next(); iterator.remove(); iterator.next(); iterator.remove(); assertEquals(1, bimap.size()); assertEquals(1, bimap.inverse().size()); } @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap public void testIdentityEntrySetIteratorRemove() { BiMap<Integer, String> bimap =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 14 14:52:51 UTC 2020 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
Iterator<Integer> iterator = bimap.keySet().iterator(); iterator.next(); iterator.next(); iterator.remove(); iterator.next(); iterator.remove(); assertEquals(1, bimap.size()); assertEquals(1, bimap.inverse().size()); } @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap public void testIdentityEntrySetIteratorRemove() { BiMap<Integer, String> bimap =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 14 14:52:51 UTC 2020 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
assertTrue(Thread.interrupted()); assertEquals(100, elements); assertEquals(100, buf.size()); } public void testNewLinkedBlockingDequeCapacity() { assertThrows(IllegalArgumentException.class, () -> Queues.newLinkedBlockingDeque(0)); assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity()); assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
String result = "{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}"; assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", "")); } public void test_34_150_10_x() { MockletHttpServletRequest request = getMockRequest();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
assertEquals("text/html", contentType); } /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif"; final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("image/gif", contentType); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertGet(k3(), v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresent() { int size = getNumElements(); assertGet(k0(), v0()); assertTrue(multimap().put(k0(), v3())); assertGet(k0(), v0(), v3()); assertEquals(size + 1, multimap().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0)