Home
last modified time | relevance | path

Searched refs:MinimalSet (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSetEqualsTester.java23 import com.google.common.collect.testing.MinimalSet;
40 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements()
50 getSet().equals(MinimalSet.from(elements)) in testEquals_otherSetWithDifferentElements()
63 getSet().equals(MinimalSet.from(elements))); in testEquals_containingNull()
70 Set<E> other = MinimalSet.from(elements); in testEquals_otherContainsNull()
81 getSet().equals(MinimalSet.from(fewerElements))); in testEquals_smallerSet()
87 getSet().equals(MinimalSet.from(moreElements))); in testEquals_largerSet()
DListEqualsTester.java22 import com.google.common.collect.testing.MinimalSet;
88 getList().equals(MinimalSet.from(getList()))); in testEquals_set()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalSet.java35 public class MinimalSet<E> extends MinimalCollection<E> implements Set<E> { class
38 public static <E> MinimalSet<E> of(E... contents) { in of()
44 public static <E> MinimalSet<E> from(Collection<? extends E> contents) { in from()
48 public static <E> MinimalSet<E> ofClassAndContents( in ofClassAndContents()
57 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()
60 private MinimalSet(Class<? super E> type, E... contents) { in MinimalSet() method in MinimalSet
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingSetTest.java21 import com.google.common.collect.testing.MinimalSet;
126 MinimalSet.of(elements)); in suite()
DImmutableMapTest.java30 import com.google.common.collect.testing.MinimalSet;
166 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalSetTest.java37 return MinimalSet.of(elements); in suite()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableMapTest.java24 import com.google.common.collect.testing.MinimalSet;
74 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()