- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TestSet (0.06 sec)
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true)); } /** * @throws Exception */ public void testSet() throws Exception { final Method m1 = SetType.class.getMethod("setOfString"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); } public void testSet() { assertFreshInstance(new TypeToken<Set<String>>() {}); assertNotInstantiable(new TypeToken<Set<EmptyEnum>>() {}); } public void testHashSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); } public void testSet() { assertFreshInstance(new TypeToken<Set<String>>() {}); assertNotInstantiable(new TypeToken<Set<EmptyEnum>>() {}); } public void testHashSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.indexOf(null), is(0)); assertThat(map.indexOf("test3"), is(-1)); } /** * @throws Exception */ @Test public void testGet() throws Exception { assertThat(map.get("1"), is("test")); assertThat(map.get(null), is(nullValue())); assertThat(map.get("test3"), is(nullValue())); assertThat(map.getAt(0), is(nullValue()));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertTrue(makeEmptyMap().equals(map)); assertEquals(emptyMap(), map); assertFalse(map.equals(emptySet())); // noinspection ObjectEqualsNull assertFalse(map.equals(null)); } public void testGet() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } for (Entry<K, V> entry : map.entrySet()) {
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/FluentIterableTest.java
assertEquals("2,1,3,4", fluent(2, 1, 3, 4).join(Joiner.on(","))); } public void testJoin_empty() { assertEquals("", fluent().join(Joiner.on(","))); } public void testGet() { assertEquals("a", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(0)); assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertTrue(makeEmptyMap().equals(map)); assertEquals(emptyMap(), map); assertFalse(map.equals(emptySet())); // noinspection ObjectEqualsNull assertFalse(map.equals(null)); } public void testGet() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } for (Entry<K, V> entry : map.entrySet()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0)