- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for testMap (0.94 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** Tests for {@code CollectSpliterators}. */ @GwtCompatible @NullMarked public class CollectSpliteratorsTest extends TestCase { public void testMap() { SpliteratorTester.of( () -> CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
assertThat(hoge.getElementClassOfCollection(), is(sameClass(String.class))); } /** * @throws Exception */ @Test public void testMap() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("map"); assertThat(hoge.getKeyClassOfMap(), is(sameClass(String.class)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfSet(t3)), is(true)); } /** * @throws Exception */ public void testMap() throws Exception { final Method m1 = MapType.class.getMethod("mapOfStringToObject"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertFreshInstance(new TypeToken<Collection<String>>() {}); } public void testIterable() { assertFreshInstance(new TypeToken<Iterable<String>>() {}); } public void testMap() { assertFreshInstance(new TypeToken<Map<String, ?>>() {}); } public void testHashMap() { assertFreshInstance(new TypeToken<HashMap<String, ?>>() {}); } public void testLinkedHashMap() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
} public void test_useForNull_twice() { Joiner j = Joiner.on("x").useForNull("y"); assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y")); } public void testMap() { MapJoiner j = Joiner.on(';').withKeyValueSeparator(':'); assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", "")));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4"; assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString()); } public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4"; assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString()); } public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/resources/test_app.xml
Shinsuke Sugaya <******@****.***> 1755612576 +0900
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 390 bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress src[srcIndex + 53] = 0x04; // flags: active // MAC address (6 bytes) byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)