- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for JUnitIncompatibleType (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
/** * Tests for {@link ImmutableMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class ImmutableMultimapTest extends TestCase { @SuppressWarnings("JUnitIncompatibleType") public void testBuilder_withImmutableEntry() { ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>().put(immutableEntry("one", 1)).build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToStringEmptyIterator() { Iterator<String> iterator = Collections.<String>emptyList().iterator(); assertEquals("[]", Iterators.toString(iterator)); } @SuppressWarnings("JUnitIncompatibleType") // Fails with j2kt. public void testLimit() { List<String> list = new ArrayList<>(); assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToStringEmptyIterator() { Iterator<String> iterator = Collections.<String>emptyList().iterator(); assertEquals("[]", Iterators.toString(iterator)); } @SuppressWarnings("JUnitIncompatibleType") // Fails with j2kt. public void testLimit() { List<String> list = new ArrayList<>(); assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
() -> type.where( new TypeParameter<T>() {}, (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture()))); } @SuppressWarnings("JUnitIncompatibleType") public void testWhere() { assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
() -> type.where( new TypeParameter<T>() {}, (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture()))); } @SuppressWarnings("JUnitIncompatibleType") public void testWhere() { assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)