/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BooleansTest.java | 149 List<boolean[]> ordered = Arrays.asList( in testLexicographicalComparator() 171 List<Boolean> none = Arrays.<Boolean>asList(); in testToArray() 174 List<Boolean> one = Arrays.asList(false); in testToArray() 179 List<Boolean> three = Arrays.asList(false, false, true); in testToArray() 182 assertTrue(Arrays.equals(array, Booleans.toArray(Booleans.asList(array)))); in testToArray() 192 List<Boolean> list = Booleans.asList(VALUES).subList(0, i); in testToArray_threadSafe() 206 List<Boolean> list = Arrays.asList(false, true, null); in testToArray_withNull() 215 assertTrue(Booleans.asList(EMPTY).isEmpty()); in testAsListIsEmpty() 216 assertFalse(Booleans.asList(ARRAY_FALSE).isEmpty()); in testAsListIsEmpty() 220 assertEquals(0, Booleans.asList(EMPTY).size()); in testAsListSize() [all …]
|
D | BytesTest.java | 164 List<Byte> none = Arrays.<Byte>asList(); in testToArray() 167 List<Byte> one = Arrays.asList((byte) 1); in testToArray() 172 List<Byte> three = Arrays.asList((byte) 0, (byte) 1, (byte) 0x55); in testToArray() 175 assertTrue(Arrays.equals(array, Bytes.toArray(Bytes.asList(array)))); in testToArray() 181 List<Byte> list = Bytes.asList(VALUES).subList(0, i); in testToArray_threadSafe() 195 List<Byte> list = Arrays.asList((byte) 0, (byte) 1, null); in testToArray_withNull() 206 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); in testToArray_withConversion() 207 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() 208 List<Integer> ints = Arrays.asList(0, 1, 2); in testToArray_withConversion() 209 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); in testToArray_withConversion() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BooleansTest.java | 146 List<boolean[]> ordered = Arrays.asList( in testLexicographicalComparator() 162 List<Boolean> none = Arrays.<Boolean>asList(); in testToArray() 165 List<Boolean> one = Arrays.asList(false); in testToArray() 170 List<Boolean> three = Arrays.asList(false, false, true); in testToArray() 173 assertTrue(Arrays.equals(array, Booleans.toArray(Booleans.asList(array)))); in testToArray() 183 List<Boolean> list = Booleans.asList(VALUES).subList(0, i); in testToArray_threadSafe() 197 List<Boolean> list = Arrays.asList(false, true, null); in testToArray_withNull() 206 assertTrue(Booleans.asList(EMPTY).isEmpty()); in testAsListIsEmpty() 207 assertFalse(Booleans.asList(ARRAY_FALSE).isEmpty()); in testAsListIsEmpty() 211 assertEquals(0, Booleans.asList(EMPTY).size()); in testAsListSize() [all …]
|
D | BytesTest.java | 162 List<Byte> none = Arrays.<Byte>asList(); in testToArray() 165 List<Byte> one = Arrays.asList((byte) 1); in testToArray() 170 List<Byte> three = Arrays.asList((byte) 0, (byte) 1, (byte) 0x55); in testToArray() 173 assertTrue(Arrays.equals(array, Bytes.toArray(Bytes.asList(array)))); in testToArray() 179 List<Byte> list = Bytes.asList(VALUES).subList(0, i); in testToArray_threadSafe() 193 List<Byte> list = Arrays.asList((byte) 0, (byte) 1, null); in testToArray_withNull() 204 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); in testToArray_withConversion() 205 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() 206 List<Integer> ints = Arrays.asList(0, 1, 2); in testToArray_withConversion() 207 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); in testToArray_withConversion() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MultisetsTest.java | 75 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty() 82 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty() 90 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesMultisetEmpty() 96 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion() 98 Arrays.asList("a", "b", "b", "c")); in testUnion() 103 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() 104 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() 110 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEmptyNonempty() 115 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionNonemptyEmpty() 122 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testIntersectEmptyNonempty() [all …]
|
D | ImmutableMultisetTest.java | 21 import static java.util.Arrays.asList; 88 return ImmutableMultiset.copyOf(elements).asList(); in suite() 120 return elementSet.asList(); in suite() 140 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_oneElement() 145 assertEquals(HashMultiset.create(asList("a", "b")), multiset); in testCreation_twoElements() 150 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); in testCreation_threeElements() 155 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); in testCreation_fourElements() 160 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), in testCreation_fiveElements() 167 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), in testCreation_sixElements() 175 HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), in testCreation_sevenElements() [all …]
|
D | LinkedHashMultimapTest.java | 25 import static java.util.Arrays.asList; 115 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString() 116 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString() 194 assertThat(multimap.replaceValues("foo", asList(6, 7))).has().exactly(5, 3).inOrder(); in testOrderingUpdates() 285 newLinkedHashSet(asList(2, 3, 4, 7, 8)), in testGetIteration() 291 multimap.putAll("foo", asList(2, 3, 4)); in testGetIteration() 292 multimap.putAll("bar", asList(5, 6)); in testGetIteration() 293 multimap.putAll("foo", asList(7, 8)); in testGetIteration() 306 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( in testEntriesIteration() 319 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration() [all …]
|
D | ImmutableSortedMultisetTest.java | 19 import static java.util.Arrays.asList; 79 return ImmutableSortedMultiset.copyOf(elements).asList(); in suite() 102 return builder.build().elementSet().asList(); in suite() 127 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_oneElement() 132 assertEquals(HashMultiset.create(asList("a", "b")), multiset); in testCreation_twoElements() 137 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); in testCreation_threeElements() 142 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); in testCreation_fourElements() 147 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), multiset); in testCreation_fiveElements() 152 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), multiset); in testCreation_sixElements() 157 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), multiset); in testCreation_sevenElements() [all …]
|
D | LinkedListMultimapTest.java | 26 import static java.util.Arrays.asList; 125 assertTrue(multimap.replaceValues("foo", Arrays.asList(2, 4)) in testReplaceValuesRandomAccess() 127 assertTrue(multimap.replaceValues("bar", Arrays.asList(2, 4)) in testReplaceValuesRandomAccess() 220 map.replaceValues("bar", asList(1, 2)); in testLinkedReplaceValues() 232 assertEquals(asList(1, 2), foos); in testLinkedClear() 308 entry.setValue(Arrays.<Integer>asList()); in testLinkedAsMapEntries() 364 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration() 365 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration() 385 multimap.putAll("foo", asList(2, 3)); in testKeysIteration() 386 multimap.putAll("bar", asList(4, 5)); in testKeysIteration() [all …]
|
D | ListsTest.java | 22 import static java.util.Arrays.asList; 69 = asList(0, 1, 1); 93 = Lists.newLinkedList(asList(1, 2, 3, 4)); 96 = asList("1", "2", "3", "4"); 119 return Lists.asList(elements[0], rest); in suite() 132 return Lists.asList(elements[0], elements[1], rest); in suite() 192 Lists.newLinkedList(asList(elements)); in suite() 219 return Lists.reverse(asList(reverseElements)); in suite() 265 assertEquals(asList('a', 'b', 'c'), chars); in testCharactersOfIsView() 268 asList('a', 'b', 'c', 'd', 'e', 'f'), chars); in testCharactersOfIsView() [all …]
|
D | ConstraintsTest.java | 20 import static java.util.Arrays.asList; 69 constrained.addAll(asList("cat", "dog")); in testConstrainedCollectionLegal() 86 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedCollectionIllegal() 94 Set<String> set = Sets.newLinkedHashSet(asList("foo", "bar")); in testConstrainedSetLegal() 98 constrained.addAll(asList("cat", "dog")); in testConstrainedSetLegal() 109 Set<String> set = Sets.newLinkedHashSet(asList("foo", "bar")); in testConstrainedSetIllegal() 116 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedSetIllegal() 124 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar")); in testConstrainedSortedSetLegal() 129 constrained.addAll(asList("cat", "dog")); in testConstrainedSortedSetLegal() 143 SortedSet<String> sortedSet = Sets.newTreeSet(asList("foo", "bar")); in testConstrainedSortedSetIllegal() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MultisetsTest.java | 73 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty() 80 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty() 88 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesMultisetEmpty() 94 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion() 96 Arrays.asList("a", "b", "b", "c")); in testUnion() 101 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() 102 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() 108 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEmptyNonempty() 113 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionNonemptyEmpty() 120 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testIntersectEmptyNonempty() [all …]
|
D | ImmutableMultisetTest.java | 20 import static java.util.Arrays.asList; 48 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_oneElement() 53 assertEquals(HashMultiset.create(asList("a", "b")), multiset); in testCreation_twoElements() 58 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); in testCreation_threeElements() 63 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); in testCreation_fourElements() 68 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), in testCreation_fiveElements() 75 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), in testCreation_sixElements() 83 HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), in testCreation_sevenElements() 96 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_arrayOfOneElement() 125 assertEquals(HashMultiset.create(asList("a")), multiset); in testCopyOf_collection_oneElement() [all …]
|
D | ListsTest.java | 21 import static java.util.Arrays.asList; 52 = asList(0, 1, 1); 76 = Lists.newLinkedList(asList(1, 2, 3, 4)); 79 = asList("1", "2", "3", "4"); 96 assertEquals(asList('a', 'b', 'c'), chars); in testCharactersOfIsView() 99 asList('a', 'b', 'c', 'd', 'e', 'f'), chars); in testCharactersOfIsView() 102 asList('a', 'b', 'c', 'd', 'e'), chars); in testCharactersOfIsView() 192 List<String> otherWay = asList("foo", "bar", "baz"); in testArraysAsList() 227 List<String> list = Lists.asList("foo", new String[0]); in testAsList1Small() 238 return Lists.asList("foo", new String[0]).iterator(); in testAsList1Small() [all …]
|
D | ImmutableSortedSetTest.java | 20 import static java.util.Arrays.asList; 374 copyOf(asList("e", "a", "f", "b", "d", "c")); in testCopyOf_ordering() 380 copyOf(asList("e", "a", "e", "f", "b", "b", "d", "a", "c")); in testCopyOf_ordering_dupes() 406 SortedSet<String> set = copyOf(asList("e", "a", "f", "b", "d", "c")); in testCopyOf_comparator() 428 copyOf(Sets.newTreeSet(asList("e", "a", "f", "b", "d", "c"))); in testCopyOf_sortedSet_ordering() 439 ImmutableSortedSet.copyOf(STRING_LENGTH, asList( in testCopyOfExplicit_ordering() 446 ImmutableSortedSet.copyOf(STRING_LENGTH, asList( in testCopyOfExplicit_ordering_dupes() 454 ImmutableSortedSet.copyOf(STRING_LENGTH, asList( in testCopyOfExplicit_comparator() 490 asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_ordering() 497 Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_comparator() [all …]
|
D | ImmutableListTest.java | 19 import static java.util.Arrays.asList; 211 assertEquals(asList("a", "b", "a"), list); in testCopyOf_collection_general() 212 List<String> mutableList = asList("a", "b"); in testCopyOf_collection_general() 215 assertEquals(asList("a", "b"), list); in testCopyOf_collection_general() 240 Iterator<String> iterator = asList("a", "b", "a").iterator(); in testCopyOf_iterator_general() 242 assertEquals(asList("a", "b", "a"), list); in testCopyOf_iterator_general() 246 Iterator<String> iterator = asList("a", null, "b").iterator(); in testCopyOf_iteratorContainingNull() 282 return asList("a", "b", "a").iterator(); in iterator() 289 assertEquals(asList("a", "b", "a"), list); in testCopyOf_plainIterable() 335 List<String> elements = Arrays.asList("a", null, "b"); in testBuilderAddCollectionHandlesNulls() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | CommandLineSupportTest.java | 52 assertEquals("", CommandLineSupport.quote(Arrays.<String> asList())); in testQuoteList1() 57 assertEquals("a", CommandLineSupport.quote(Arrays.asList("a"))); in testQuoteList2() 63 CommandLineSupport.quote(Arrays.asList("a", "b", "c"))); in testQuoteList3() 69 CommandLineSupport.quote(Arrays.asList("a", "b b", "c"))); in testQuoteList4() 74 assertEquals(Arrays.asList(), CommandLineSupport.split(null)); in testSplit1() 79 assertEquals(Arrays.asList(), CommandLineSupport.split("")); in testSplit2() 84 assertEquals(Arrays.asList("abc"), CommandLineSupport.split("abc")); in testSplit3() 89 assertEquals(Arrays.asList("aa", "bbbb", "cccccc"), in testSplit4() 95 assertEquals(Arrays.asList("a a", "b b "), in testSplit5() 101 assertEquals(Arrays.asList("a\"c"), CommandLineSupport.split("a\\\"c")); in testSplit6() [all …]
|
/external/testng/src/test/java/org/testng/remote/strprotocol/ |
D | TestResultMessageTest.java | 20 { null, new Class[] { null }, Arrays.asList() }, in getP() 22 new Class[] { byte[].class }, Arrays.asList("[1]") }, in getP() 24 new Class[] { short[].class }, Arrays.asList("[1]") }, in getP() 26 new Class[] { long[].class }, Arrays.asList("[1]") }, in getP() 28 new Class[] { int[].class }, Arrays.asList("[1,2,3]") }, in getP() 31 Arrays.asList("[true,false]") }, in getP() 33 new Class[] { int[].class }, Arrays.asList("[a,b,c]") }, in getP() 36 Arrays.asList("[1.1,2.2,3.3]") }, in getP() 39 Arrays.asList("[1.1,2.2,3.3]") }, in getP() 42 Arrays.asList("[this is a string,false]") }, in getP() [all …]
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsIterableContainingInRelativeOrderTest.java | 10 import static java.util.Arrays.asList; 25 assertMatches("Single item iterable", containsInRelativeOrder(1), asList(1)); in testMatchingSingleItemIterable() 29 assertMatches("Multiple item iterable", containsInRelativeOrder(1, 2, 3), asList(1, 2, 3)); in testMatchingMultipleItemIterable() 33 … assertMatches("More elements at beginning", containsInRelativeOrder(2, 3, 4), asList(1, 2, 3, 4)); in testMatchesWithMoreElementsThanExpectedAtBeginning() 37 assertMatches("More elements at end", containsInRelativeOrder(1, 2, 3), asList(1, 2, 3, 4)); in testMatchesWithMoreElementsThanExpectedAtEnd() 41 assertMatches("More elements in between", containsInRelativeOrder(1, 3), asList(1, 2, 3)); in testMatchesWithMoreElementsThanExpectedInBetween() 45 assertMatches("Sub section of iterable", containsInRelativeOrder(2, 3), asList(1, 2, 3, 4)); in testMatchesSubSection() 49 … single gaps without a first or last match", containsInRelativeOrder(2, 4), asList(1, 2, 3, 4, 5)); in testMatchesWithSingleGapAndNotFirstOrLast() 53 …"Sub section with many gaps iterable", containsInRelativeOrder(2, 4, 6), asList(1, 2, 3, 4, 5, 6, … in testMatchingSubSectionWithManyGaps() 57 List<WithValue> valueList = asList(make(1), make(2)); in testDoesNotMatchWithFewerElementsThanExpected() [all …]
|
D | IsCollectionWithSizeTest.java | 11 import static java.util.Arrays.asList; 23 assertMatches("correct size", hasSize(equalTo(2)), asList(null, null)); in testMatchesWhenSizeIsCorrect() 24 …assertMismatchDescription("collection size was <3>", hasSize(equalTo(2)), asList(null, null, null)… in testMatchesWhenSizeIsCorrect() 28 Collection<Object> list = asList(null, null); in testMatchesCollectionWhenSizeIsCorrectUsingObjectElementType() 34 Collection<String> list = asList("a", "b"); in testMatchesCollectionWhenSizeIsCorrectUsingStringElementType() 40 Collection<?> list = asList("a", "b"); in testMatchesCollectionWhenSizeIsCorrectUsingWildcardElementType() 46 List<Object> list = asList(null, null); in testMatchesListWhenSizeIsCorrectUsingObjectElementType() 52 List<String> list = asList("a", "b"); in testMatchesListWhenSizeIsCorrectUsingStringElementType() 58 List<?> list = asList("a", "b"); in testMatchesListWhenSizeIsCorrectUsingWildcardElementType() 64 assertMatches("correct size", hasSize(2), asList(null, null)); in testProvidesConvenientShortcutForHasSizeEqualTo() [all …]
|
D | IsIterableContainingInAnyOrderTest.java | 9 import static java.util.Arrays.asList; 22 assertMatches("single item", containsInAnyOrder(1), asList(1)); in testMatchesSingleItemIterable() 30 assertMatches("Out of order", containsInAnyOrder(1, 2), asList(2, 1)); in testMatchesIterableOutOfOrder() 34 assertMatches("In order", containsInAnyOrder(1, 2), asList(1, 2)); in testMatchesIterableInOrder() 38 assertMismatchDescription("not matched: <4>", containsInAnyOrder(1, 2, 3), asList(1, 2, 4)); in testDoesNotMatchIfOneOfMultipleElementsMismatches() 44 …assertMismatchDescription("not matched: <WithValue 2>", helpTheCompilerOut, asList(make(1), make(2… in testDoesNotMatchIfThereAreMoreElementsThanMatchers() 48 …iption("no item matches: <4> in [<1>, <2>, <3>]", containsInAnyOrder(1, 2, 3, 4), asList(1, 2, 3)); in testDoesNotMatchIfThereAreMoreMatchersThanElements()
|
D | IsIterableContainingInOrderTest.java | 10 import static java.util.Arrays.asList; 25 assertMatches("Single item iterable", contains(1), asList(1)); in testMatchingSingleItemIterable() 29 assertMatches("Multiple item iterable", contains(1, 2, 3), asList(1, 2, 3)); in testMatchingMultipleItemIterable() 33 assertMismatchDescription("not matched: <4>", contains(1, 2, 3), asList(1, 2, 3, 4)); in testDoesNotMatchWithMoreElementsThanExpected() 37 List<WithValue> valueList = asList(make(1), make(2)); in testDoesNotMatchWithFewerElementsThanExpected() 42 assertMismatchDescription("item 0: value was <3>", contains(value(4)), asList(make(3))); in testDoesNotMatchIfSingleItemMismatches() 46 …assertMismatchDescription("item 2: value was <4>", contains123, asList(make(1), make(2), make(4))); in testDoesNotMatchIfOneOfMultipleItemsMismatch() 58 assertMatches(contains(null, null), asList(null, null)); in testCanHandleNullMatchers()
|
/external/mockito/src/test/java/org/mockitousage/internal/junit/ |
D | UnusedStubbingsFinderTest.java | 13 import static java.util.Arrays.asList; 32 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_interactions() 33 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_interactions() 42 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_stubbings() 43 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_stubbings() 53 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_unused_stubbings() 54 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_unused_stubbings() 63 assertEquals(1, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in unused_stubbings() 64 assertEquals(1, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in unused_stubbings() 76 UnusedStubbings stubbings = finder.getUnusedStubbings((List) asList(mock1, mock2)); in some_unused_stubbings() [all …]
|
/external/testng/src/test/java/test/asserttests/ |
D | ArrayEqualityAssertTest.java | 65 List<int[]> list = Arrays.asList( in arrayInsideListAssertEquals() 68 List<int[]> listCopy = Arrays.asList( in arrayInsideListAssertEquals() 77 List<int[]> list = Arrays.asList( in arrayInsideListAssertNotEquals() 80 List<int[]> listCopy = Arrays.asList( in arrayInsideListAssertNotEquals() 144 List<List<int[]>> list = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInListsAssertEquals() 145 List<List<int[]>> listCopy = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInListsAssertEquals() 184 map.put("list", Arrays.asList(new int[]{ 42 })); in arrayDeepInMapAndListAssertEquals() 186 mapCopy.put("list", Arrays.asList(new int[]{ 42 })); in arrayDeepInMapAndListAssertEquals() 194 Iterable<int[]> iterable = Arrays.asList( in arrayInsideIterableAssertEquals() 197 Iterable<int[]> iterableCopy = Arrays.asList( in arrayInsideIterableAssertEquals() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | MatcherApplicationStrategyTest.java | 7 import static java.util.Arrays.asList; 47 matchers = asList(new Equals("1")); in shouldKnowWhenActualArgsSizeIsDifferent1() 60 matchers = asList(new Equals("1")); in shouldKnowWhenActualArgsSizeIsDifferent2() 73 matchers = asList(new Equals("1")); in shouldKnowWhenActualArgsSizeIsDifferent() 86 matchers = asList(new Equals("1"), new Equals("2")); in shouldKnowWhenMatchersSizeIsDifferent() 99 matchers = asList(new Equals("1"), Any.ANY, new InstanceOf(String.class)); in shouldKnowWhenVarargsMatch() 112 matchers = asList(ANY); in shouldAllowAnyVarargMatchEntireVararg() 125 matchers = asList(new Equals(1)); in shouldNotAllowAnyObjectWithMixedVarargs() 138 matchers = asList(new Equals(1), ANY); in shouldAllowAnyObjectWithMixedVarargs() 151 matchers = asList(new Equals(1)); in shouldAnyObjectVarargDealWithDifferentSizeOfArgs() [all …]
|