- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,466 for assertEquals (0.16 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java
/** * @throws Exception */ public void testNormalize() throws Exception { assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN)); assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN)); assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN)); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
// Then assertNotNull(msrpcSamrCloseHandle, "MsrpcSamrCloseHandle object should not be null"); assertEquals(0, msrpcSamrCloseHandle.getPtype(), "ptype should be 0"); assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(), "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
// Verify assertTrue(result.isPresent()); Locale locale = result.get(); assertEquals("no", locale.getLanguage()); assertEquals("NO", locale.getCountry()); assertEquals("NY", locale.getVariant()); } // Test findBusinessLocale with case sensitivity public void test_findBusinessLocale_withMixedCase() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
@MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = getMap().size(); assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0())); assertEquals( "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
DefaultToolchain toolchain = newDefaultToolchain(model); assertEquals(model, toolchain.getModel()); } @Test void testGetType() { ToolchainModel model = new ToolchainModel(); DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE"); assertEquals("TYPE", toolchain.getType()); model.setType("MODEL_TYPE");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
assertNotNull(task); assertNotNull(task.getValue1()); assertNotNull(task.getValue2()); assertNotNull(task.getValue3()); assertEquals("task-id", task.getValue1()); assertEquals(path, task.getValue2()); assertEquals("application/pdf", task.getValue3()); } public void test_createTask_withNullPath() { // Test task creation with null path
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE); assertEquals(1, filtered.size()); assertTrue(filtered.containsEntry("foo", 1)); assertTrue(filtered.keySet().retainAll(asList("cat", "dog"))); assertEquals(0, filtered.size()); } // TODO(jlevy): Many more tests needed.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
assertEquals("Should have one type parameter", 1, typeParameters.length); assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName()); } public void test_packageStructure() { final Package pkg = FessActionValidator.class.getPackage(); assertNotNull("Package should not be null", pkg);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.7K bytes - Viewed (0)