/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
IteratorTester.java | 49 * {@link IteratorTester#newTargetIterator()} method. This is because it's 56 * obtained from {@link IteratorTester#newTargetIterator()}. 63 public abstract class IteratorTester<E> extends 66 * Creates an IteratorTester. 71 protected IteratorTester(int steps,
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetIteratorTester.java | 22 import com.google.common.collect.testing.IteratorTester; 41 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, getSubjectGenerator().order( 43 IteratorTester.KnownOrder.KNOWN_ORDER) { 55 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1, 56 samples.e1, samples.e2), IteratorTester.KnownOrder.UNKNOWN_ORDER) { 68 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, getSubjectGenerator().order( 70 IteratorTester.KnownOrder.KNOWN_ORDER) { 82 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, Arrays.asList(samples.e0, samples.e1, 83 samples.e1, samples.e2), IteratorTester.KnownOrder.UNKNOWN_ORDER) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionIteratorTester.java | 27 import com.google.common.collect.testing.IteratorTester; 73 runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, 79 runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, 85 runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, 91 runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, 96 IteratorTester.KnownOrder knownOrder, Iterable<E> elements) { 97 new IteratorTester<E>(Platform.collectionIteratorTesterNumIterations(), features, elements,
|
/external/guava/guava-tests/test/com/google/common/collect/ |
LinkedHashMultisetTest.java | 25 import com.google.common.collect.testing.IteratorTester; 71 IteratorTester<String> tester = 72 new IteratorTester<String>(6, MODIFIABLE, newArrayList(ms), 73 IteratorTester.KnownOrder.KNOWN_ORDER) { 83 IteratorTester<String> tester = 84 new IteratorTester<String>(5, MODIFIABLE, newArrayList("a", "c", "b"), 85 IteratorTester.KnownOrder.KNOWN_ORDER) {
|
LinkedHashMultimapTest.java | 28 import com.google.common.collect.testing.IteratorTester; 207 new IteratorTester<Integer>(6, MODIFIABLE, 209 IteratorTester.KnownOrder.KNOWN_ORDER) { 236 new IteratorTester<Entry<String, Integer>>(6, MODIFIABLE, set, 237 IteratorTester.KnownOrder.KNOWN_ORDER) { 256 new IteratorTester<String>(6, MODIFIABLE, newArrayList("foo", "foo", "bar", 257 "bar", "foo"), IteratorTester.KnownOrder.KNOWN_ORDER) { 276 new IteratorTester<Integer>(6, MODIFIABLE, newArrayList(2, 3, 4, 5, 6), 277 IteratorTester.KnownOrder.KNOWN_ORDER) { 296 new IteratorTester<String>(6, MODIFIABLE, newLinkedHashSet(asList [all...] |
AbstractLinkedIteratorTest.java | 24 import com.google.common.collect.testing.IteratorTester; 37 new IteratorTester<Integer>(3, UNMODIFIABLE, ImmutableList.of(1, 2), 38 IteratorTester.KnownOrder.KNOWN_ORDER) {
|
TreeMultisetTest.java | 34 import com.google.common.collect.testing.IteratorTester; 85 IteratorTester<String> tester = 86 new IteratorTester<String>(createSample().size() + 2, MODIFIABLE, 88 IteratorTester.KnownOrder.KNOWN_ORDER) { 109 IteratorTester<String> tester = new IteratorTester<String>(5, MODIFIABLE, 110 newArrayList("a", "b", "c"), IteratorTester.KnownOrder.KNOWN_ORDER) {
|
IteratorsTest.java | 35 import com.google.common.collect.testing.IteratorTester; 279 new IteratorTester<Integer>(5, UNMODIFIABLE, asList(2, 4), 280 IteratorTester.KnownOrder.KNOWN_ORDER) { 596 new IteratorTester<Integer>(5, UNMODIFIABLE, asList(1, 2, 1, 2, 1, 597 2, 1, 2, 1, 2, 1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { 673 new IteratorTester<Integer>(5, UNMODIFIABLE, asList(1, 2), 674 IteratorTester.KnownOrder.KNOWN_ORDER) { 752 extends IteratorTester<Integer> { 755 IteratorTester.KnownOrder.KNOWN_ORDER); 761 extends IteratorTester<Integer> [all...] |
TreeMultimapNaturalTest.java | 28 import com.google.common.collect.testing.IteratorTester; 303 new IteratorTester<Integer>(6, MODIFIABLE, 305 IteratorTester.KnownOrder.KNOWN_ORDER) { 331 new IteratorTester<Entry<String, Integer>>(6, MODIFIABLE, set, 332 IteratorTester.KnownOrder.KNOWN_ORDER) { 351 new IteratorTester<String>(6, MODIFIABLE, Lists.newArrayList("bar", "bar", 352 "foo", "foo", "foo"), IteratorTester.KnownOrder.KNOWN_ORDER) { 371 new IteratorTester<Integer>(6, MODIFIABLE, newArrayList(4, 5, 2, 3, 6), 372 IteratorTester.KnownOrder.KNOWN_ORDER) { 391 new IteratorTester<String>(6, MODIFIABLE [all...] |
AbstractImmutableSetTest.java | 26 import com.google.common.collect.testing.IteratorTester; 257 new IteratorTester<String>(5, UNMODIFIABLE, Collections.singleton("a"), 258 IteratorTester.KnownOrder.KNOWN_ORDER) { 267 new IteratorTester<String>(5, UNMODIFIABLE, asList("a", "b", "c"), 268 IteratorTester.KnownOrder.KNOWN_ORDER) {
|
LinkedListMultimapTest.java | 30 import com.google.common.collect.testing.IteratorTester; 365 new IteratorTester<String>(6, MODIFIABLE, newArrayList("foo", "foo", "bar", 366 "bar", "foo"), IteratorTester.KnownOrder.KNOWN_ORDER) { 411 new IteratorTester<String>(6, MODIFIABLE, newLinkedHashSet(asList( 413 IteratorTester.KnownOrder.KNOWN_ORDER) { 450 new IteratorTester<Entry<String, Collection<Integer>>>(6, MODIFIABLE, set, 451 IteratorTester.KnownOrder.KNOWN_ORDER) {
|
ListsTest.java | 29 import com.google.common.collect.testing.IteratorTester; 428 new IteratorTester<String>(5, UNMODIFIABLE, 430 IteratorTester.KnownOrder.KNOWN_ORDER) { 456 new IteratorTester<String>(3, UNMODIFIABLE, singletonList("foo"), 457 IteratorTester.KnownOrder.KNOWN_ORDER) { 469 new IteratorTester<String>(5, UNMODIFIABLE, asList("foo", "bar", 470 "baz"), IteratorTester.KnownOrder.KNOWN_ORDER) { 489 new IteratorTester<String>(5, UNMODIFIABLE, asList("foo", "bar"), 490 IteratorTester.KnownOrder.KNOWN_ORDER) {
|
ConcurrentHashMultisetTest.java | 33 import com.google.common.collect.testing.IteratorTester; 246 new IteratorTester<String>( 247 5, asList(SUPPORTS_REMOVE), expected, IteratorTester.KnownOrder.UNKNOWN_ORDER) { 273 new IteratorTester<Entry<String>>( 274 5, asList(SUPPORTS_REMOVE), expected, IteratorTester.KnownOrder.UNKNOWN_ORDER) {
|
IterablesTest.java | 34 import com.google.common.collect.testing.IteratorTester; 571 new IteratorTester<Integer>(5, MODIFIABLE, newArrayList(2, 4, 6, 8), 572 IteratorTester.KnownOrder.KNOWN_ORDER) { 673 new IteratorTester<Integer>(5, MODIFIABLE, newArrayList(2, 3), 674 IteratorTester.KnownOrder.KNOWN_ORDER) { 683 new IteratorTester<Integer>(5, MODIFIABLE, newArrayList(2, 3), 684 IteratorTester.KnownOrder.KNOWN_ORDER) { [all...] |
MinMaxPriorityQueueTest.java | 22 import com.google.common.collect.testing.IteratorTester; 511 IteratorTester<T> tester = 512 new IteratorTester<T>( 516 IteratorTester.KnownOrder.UNKNOWN_ORDER) {
|
SetsTest.java | 36 import com.google.common.collect.testing.IteratorTester; 88 private static final IteratorTester.KnownOrder KNOWN_ORDER = 89 IteratorTester.KnownOrder.KNOWN_ORDER; 770 new IteratorTester<Set<Integer>>(6, UNMODIFIABLE, expected, KNOWN_ORDER) { 787 new IteratorTester<Set<Integer>>(4, UNMODIFIABLE, expected, KNOWN_ORDER) { [all...] |
MultimapsTest.java | 32 import com.google.common.collect.testing.IteratorTester; 508 IteratorTester<Integer> tester = 509 new IteratorTester<Integer>(4, MODIFIABLE, newHashSet(1), 510 IteratorTester.KnownOrder.KNOWN_ORDER) { [all...] |