Home
last modified time | relevance | path

Searched refs:inOrder (Results 1 – 25 of 112) sorted by relevance

12345

/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/
DMonitoringTest.java40 import static org.mockito.Mockito.inOrder;
86 InOrder inOrder = inOrder(requestDataMonitor, callServer1Monitor, callServer2Monitor); in basicMonitoring() local
87 inOrder.verify(requestDataMonitor).methodStarting(); in basicMonitoring()
88 inOrder.verify(requestDataMonitor).methodFinished(); in basicMonitoring()
89 inOrder.verify(requestDataMonitor).succeeded("Hello, World!"); in basicMonitoring()
90 inOrder.verify(callServer1Monitor).methodStarting(); in basicMonitoring()
91 inOrder.verify(callServer1Monitor).methodFinished(); in basicMonitoring()
95 inOrder.verify(callServer1Monitor).succeeded("server 1 response"); in basicMonitoring()
96 inOrder.verify(callServer2Monitor).methodStarting(); in basicMonitoring()
97 inOrder.verify(callServer2Monitor).methodFinished(); in basicMonitoring()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultisetTest.java86 assertThat(elementSet.headSet("b")).has().exactly("a").inOrder(); in testElementSetSortedSetMethods()
87 assertThat(elementSet.tailSet("b")).has().exactly("b", "c").inOrder(); in testElementSetSortedSetMethods()
88 assertThat(elementSet.subSet("a", "c")).has().exactly("a", "b").inOrder(); in testElementSetSortedSetMethods()
101 assertThat(elementSet).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
103 assertThat(subset).has().exactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemove()
106 assertThat(elementSet).has().exactly("a", "b", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
107 assertThat(subset).has().exactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove()
111 assertThat(elementSet).has().exactly("a", "b", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
112 assertThat(subset).has().exactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove()
126 assertThat(elementSet).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testElementSetSubsetRemoveAll()
[all …]
DImmutableTableTest.java187 assertThat(table.row('b').keySet()).has().exactly(1, 2).inOrder(); in testCopyOf()
189 .has().exactly(2, 1).inOrder(); in testCopyOf()
230 assertThat(copy.rowKeySet()).has().exactly('a', 'b').inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
231 assertThat(copy.columnKeySet()).has().exactly(1, 2).inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
232 assertThat(copy.values()).has().exactly("baz", "bar", "foo").inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
233 assertThat(copy.row('b').keySet()).has().exactly(1, 2).inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
251 assertThat(table.rowKeySet()).has().exactly('b', 'c', 'e', 'r', 'x').inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
252 assertThat(table.columnKeySet()).has().exactly(0, 1, 2, 3, 4, 5, 7).inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
254 "dog", "bar", "foo", "foo", "bar").inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
255 assertThat(table.row('c').keySet()).has().exactly(0, 3).inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
[all …]
DImmutableSortedSetTest.java183 assertThat(set).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testOf_ordering()
232 assertThat(set).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testOf_ordering_dupes()
243 assertThat(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); in testOf_headSet()
244 assertThat(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet()
252 assertThat(set.tailSet("e")).has().exactly("e", "f").inOrder(); in testOf_tailSet()
253 assertThat(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_tailSet()
260 assertThat(set.subSet("c", "e")).has().exactly("c", "d").inOrder(); in testOf_subSet()
261 assertThat(set.subSet("a", "g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_subSet()
287 assertThat(set).has().exactly("a", "in", "the", "over", "quick", "jumped").inOrder(); in testExplicit_ordering()
294 assertThat(set).has().exactly("a", "in", "the", "over", "quick", "jumped").inOrder(); in testExplicit_ordering_dupes()
[all …]
DLinkedHashMultimapTest.java91 assertThat(multimap.get("foo")).has().exactly(5, 3).inOrder(); in assertOrderingReadOnly()
92 assertThat(multimap.get("bar")).has().exactly(4, 1).inOrder(); in assertOrderingReadOnly()
95 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder(); in assertOrderingReadOnly()
96 assertThat(multimap.values()).has().exactly(5, 4, 3, 2, 1).inOrder(); in assertOrderingReadOnly()
110 assertThat(entry.getValue()).has().exactly(5, 3).inOrder(); in assertOrderingReadOnly()
113 assertThat(entry.getValue()).has().exactly(4, 1).inOrder(); in assertOrderingReadOnly()
122 assertThat(multimap.replaceValues("foo", asList(6, 7))).has().exactly(5, 3).inOrder(); in testOrderingUpdates()
123 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder(); in testOrderingUpdates()
124 assertThat(multimap.removeAll("foo")).has().exactly(6, 7).inOrder(); in testOrderingUpdates()
125 assertThat(multimap.keySet()).has().exactly("bar", "cow").inOrder(); in testOrderingUpdates()
[all …]
DContiguousSetTest.java112 assertThat(set.headSet(3)).has().exactly(1, 2).inOrder(); in testHeadSet()
113 assertThat(set.headSet(4)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
114 assertThat(set.headSet(Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
116 assertThat(set.headSet(2, true)).has().exactly(1, 2).inOrder(); in testHeadSet()
117 assertThat(set.headSet(3, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
118 assertThat(set.headSet(4, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
119 assertThat(set.headSet(Integer.MAX_VALUE, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
128 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
129 assertThat(set.tailSet(1)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
130 assertThat(set.tailSet(2)).has().exactly(2, 3).inOrder(); in testTailSet()
[all …]
DTreeMultimapExplicitTest.java100 assertThat(tree.keySet()).has().exactly("tree", "google").inOrder(); in testMultimapCreateFromTreeMultimap()
101 assertThat(tree.get("google")).has().exactly(6, 2).inOrder(); in testMultimapCreateFromTreeMultimap()
105 assertThat(copy.keySet()).has().exactly("google", "tree").inOrder(); in testMultimapCreateFromTreeMultimap()
106 assertThat(copy.get("google")).has().exactly(2, 6).inOrder(); in testMultimapCreateFromTreeMultimap()
131 assertThat(multimap.get(null)).has().exactly(7, 3, 1).inOrder(); in testOrderedGet()
132 assertThat(multimap.get("google")).has().exactly(6, 2).inOrder(); in testOrderedGet()
133 assertThat(multimap.get("tree")).has().exactly(null, 0).inOrder(); in testOrderedGet()
138 assertThat(multimap.keySet()).has().exactly(null, "tree", "google").inOrder(); in testOrderedKeySet()
165 Maps.immutableEntry("google", 2)).inOrder(); in testOrderedEntries()
170 assertThat(multimap.values()).has().exactly(7, 3, 1, null, 0, 6, 2).inOrder(); in testOrderedValues()
DImmutableSetMultimapTest.java219 assertThat(multimap.keySet()).has().exactly("d", "c", "b", "a").inOrder(); in testBuilderOrderKeysBy()
220 assertThat(multimap.values()).has().exactly(2, 4, 3, 6, 5, 2).inOrder(); in testBuilderOrderKeysBy()
221 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysBy()
222 assertThat(multimap.get("b")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysBy()
244 assertThat(multimap.keySet()).has().exactly("d", "a", "bb", "cc").inOrder(); in testBuilderOrderKeysByDuplicates()
245 assertThat(multimap.values()).has().exactly(2, 5, 2, 3, 6, 4).inOrder(); in testBuilderOrderKeysByDuplicates()
246 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysByDuplicates()
247 assertThat(multimap.get("bb")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysByDuplicates()
264 assertThat(multimap.keySet()).has().exactly("b", "d", "a", "c").inOrder(); in testBuilderOrderValuesBy()
265 assertThat(multimap.values()).has().exactly(6, 3, 2, 5, 2, 4).inOrder(); in testBuilderOrderValuesBy()
[all …]
DImmutableListMultimapTest.java242 assertThat(multimap.keySet()).has().exactly("d", "c", "b", "a").inOrder(); in testBuilderOrderKeysBy()
243 assertThat(multimap.values()).has().exactly(2, 4, 3, 6, 5, 2).inOrder(); in testBuilderOrderKeysBy()
244 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysBy()
245 assertThat(multimap.get("b")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysBy()
264 assertThat(multimap.keySet()).has().exactly("d", "a", "bb", "cc").inOrder(); in testBuilderOrderKeysByDuplicates()
265 assertThat(multimap.values()).has().exactly(2, 5, 2, 3, 6, 4).inOrder(); in testBuilderOrderKeysByDuplicates()
266 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysByDuplicates()
267 assertThat(multimap.get("bb")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysByDuplicates()
281 assertThat(multimap.keySet()).has().exactly("b", "d", "a", "c").inOrder(); in testBuilderOrderValuesBy()
282 assertThat(multimap.values()).has().exactly(6, 3, 2, 5, 2, 4).inOrder(); in testBuilderOrderValuesBy()
[all …]
DEnumBiMapTest.java176 .has().exactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO).inOrder(); in testIterationOrder()
179 .has().exactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE).inOrder(); in testIterationOrder()
182 .has().exactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND).inOrder(); in testIterationOrder()
185 .has().exactly(Currency.DOLLAR, Currency.PESO, Currency.FRANC).inOrder(); in testIterationOrder()
203 .has().exactly(Currency.FRANC, Currency.PESO).inOrder(); in testKeySetIteratorRemove()
206 .has().exactly(Country.SWITZERLAND, Country.CHILE).inOrder(); in testKeySetIteratorRemove()
209 .has().exactly(Country.CHILE, Country.SWITZERLAND).inOrder(); in testKeySetIteratorRemove()
212 .has().exactly(Currency.PESO, Currency.FRANC).inOrder(); in testKeySetIteratorRemove()
231 .has().exactly(Currency.DOLLAR, Currency.PESO).inOrder(); in testValuesIteratorRemove()
234 .has().exactly(Country.CANADA, Country.CHILE).inOrder(); in testValuesIteratorRemove()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DConstraintsTest.java72 .exactly("foo", "bar", TEST_ELEMENT, "qux", "cat", "dog").inOrder(); in testConstrainedCollectionLegal()
74 .exactly("foo", "bar", TEST_ELEMENT, "qux", "cat", "dog").inOrder(); in testConstrainedCollectionLegal()
89 assertThat(constrained).has().exactly("foo", "bar").inOrder(); in testConstrainedCollectionIllegal()
90 assertThat(collection).has().exactly("foo", "bar").inOrder(); in testConstrainedCollectionIllegal()
103 assertThat(set).has().exactly("foo", "bar", TEST_ELEMENT, "qux", "cat", "dog").inOrder(); in testConstrainedSetLegal()
105 .exactly("foo", "bar", TEST_ELEMENT, "qux", "cat", "dog").inOrder(); in testConstrainedSetLegal()
119 assertThat(constrained).has().exactly("foo", "bar").inOrder(); in testConstrainedSetIllegal()
120 assertThat(set).has().exactly("foo", "bar").inOrder(); in testConstrainedSetIllegal()
134 assertThat(sortedSet).has().exactly("bar", "cat", "dog", "foo", "qux", TEST_ELEMENT).inOrder(); in testConstrainedSortedSetLegal()
136 .exactly("bar", "cat", "dog", "foo", "qux", TEST_ELEMENT).inOrder(); in testConstrainedSortedSetLegal()
[all …]
DImmutableTableTest.java188 assertThat(table.row('b').keySet()).has().exactly(1, 2).inOrder(); in testCopyOf()
190 .has().exactly(2, 1).inOrder(); in testCopyOf()
231 assertThat(copy.rowKeySet()).has().exactly('a', 'b').inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
232 assertThat(copy.columnKeySet()).has().exactly(1, 2).inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
233 assertThat(copy.values()).has().exactly("baz", "bar", "foo").inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
234 assertThat(copy.row('b').keySet()).has().exactly(1, 2).inOrder(); in testBuilder_orderRowsAndColumnsBy_putAll()
252 assertThat(table.rowKeySet()).has().exactly('b', 'c', 'e', 'r', 'x').inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
253 assertThat(table.columnKeySet()).has().exactly(0, 1, 2, 3, 4, 5, 7).inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
255 "dog", "bar", "foo", "foo", "bar").inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
256 assertThat(table.row('c').keySet()).has().exactly(0, 3).inOrder(); in testBuilder_orderRowsAndColumnsBy_sparse()
[all …]
DTreeMultisetTest.java166 assertThat(elementSet.headSet("b")).has().exactly("a").inOrder(); in testElementSetSortedSetMethods()
167 assertThat(elementSet.tailSet("b")).has().exactly("b", "c").inOrder(); in testElementSetSortedSetMethods()
168 assertThat(elementSet.subSet("a", "c")).has().exactly("a", "b").inOrder(); in testElementSetSortedSetMethods()
181 assertThat(elementSet).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
183 assertThat(subset).has().exactly("b", "c", "d", "e").inOrder(); in testElementSetSubsetRemove()
186 assertThat(elementSet).has().exactly("a", "b", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
187 assertThat(subset).has().exactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove()
191 assertThat(elementSet).has().exactly("a", "b", "d", "e", "f").inOrder(); in testElementSetSubsetRemove()
192 assertThat(subset).has().exactly("b", "d", "e").inOrder(); in testElementSetSubsetRemove()
206 assertThat(elementSet).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testElementSetSubsetRemoveAll()
[all …]
DTreeMultimapExplicitTest.java102 assertThat(tree.keySet()).has().exactly("tree", "google").inOrder(); in testMultimapCreateFromTreeMultimap()
103 assertThat(tree.get("google")).has().exactly(6, 2).inOrder(); in testMultimapCreateFromTreeMultimap()
107 assertThat(copy.keySet()).has().exactly("google", "tree").inOrder(); in testMultimapCreateFromTreeMultimap()
108 assertThat(copy.get("google")).has().exactly(2, 6).inOrder(); in testMultimapCreateFromTreeMultimap()
133 assertThat(multimap.get(null)).has().exactly(7, 3, 1).inOrder(); in testOrderedGet()
134 assertThat(multimap.get("google")).has().exactly(6, 2).inOrder(); in testOrderedGet()
135 assertThat(multimap.get("tree")).has().exactly(null, 0).inOrder(); in testOrderedGet()
140 assertThat(multimap.keySet()).has().exactly(null, "tree", "google").inOrder(); in testOrderedKeySet()
167 Maps.immutableEntry("google", 2)).inOrder(); in testOrderedEntries()
172 assertThat(multimap.values()).has().exactly(7, 3, 1, null, 0, 6, 2).inOrder(); in testOrderedValues()
[all …]
DTreeRangeSetTest.java118 .has().exactlyAs(expected.headMap(key, inclusive).entrySet()).inOrder(); in testNavigationAgainstExpected()
120 .has().exactlyAs(expected.tailMap(key, inclusive).entrySet()).inOrder(); in testNavigationAgainstExpected()
122 .has().exactlyAs(expected.headMap(key, inclusive).descendingMap().entrySet()).inOrder(); in testNavigationAgainstExpected()
124 .has().exactlyAs(expected.tailMap(key, inclusive).descendingMap().entrySet()).inOrder(); in testNavigationAgainstExpected()
155 .has().exactlyAs(complement.asRanges()).inOrder(); in testAllSingleRangesComplementAgainstRemove()
294 .has().exactly(Range.lessThan(1), Range.atLeast(6)).inOrder(); in testMergesConnectedWithOverlap()
304 .has().exactly(Range.lessThan(1), Range.atLeast(6)).inOrder(); in testMergesConnectedDisjoint()
314 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder(); in testIgnoresSmallerSharingNoBound()
324 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder(); in testIgnoresSmallerSharingLowerBound()
334 .has().exactly(Range.lessThan(1), Range.greaterThan(6)).inOrder(); in testIgnoresSmallerSharingUpperBound()
[all …]
DImmutableSortedSetTest.java309 assertThat(set).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testOf_ordering()
358 assertThat(set).has().exactly("a", "b", "c", "d", "e", "f").inOrder(); in testOf_ordering_dupes()
369 assertThat(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); in testOf_headSet()
370 assertThat(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet()
378 assertThat(set.tailSet("e")).has().exactly("e", "f").inOrder(); in testOf_tailSet()
379 assertThat(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_tailSet()
386 assertThat(set.subSet("c", "e")).has().exactly("c", "d").inOrder(); in testOf_subSet()
387 assertThat(set.subSet("a", "g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_subSet()
427 assertThat(set).has().exactly("a", "in", "the", "over", "quick", "jumped").inOrder(); in testExplicit_ordering()
434 assertThat(set).has().exactly("a", "in", "the", "over", "quick", "jumped").inOrder(); in testExplicit_ordering_dupes()
[all …]
DContiguousSetTest.java150 assertThat(set.headSet(3)).has().exactly(1, 2).inOrder(); in testHeadSet()
151 assertThat(set.headSet(4)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
152 assertThat(set.headSet(Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
154 assertThat(set.headSet(2, true)).has().exactly(1, 2).inOrder(); in testHeadSet()
155 assertThat(set.headSet(3, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
156 assertThat(set.headSet(4, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
157 assertThat(set.headSet(Integer.MAX_VALUE, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
166 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
167 assertThat(set.tailSet(1)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
168 assertThat(set.tailSet(2)).has().exactly(2, 3).inOrder(); in testTailSet()
[all …]
DImmutableSetMultimapTest.java252 assertThat(multimap.keySet()).has().exactly("d", "c", "b", "a").inOrder(); in testBuilderOrderKeysBy()
253 assertThat(multimap.values()).has().exactly(2, 4, 3, 6, 5, 2).inOrder(); in testBuilderOrderKeysBy()
254 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysBy()
255 assertThat(multimap.get("b")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysBy()
277 assertThat(multimap.keySet()).has().exactly("d", "a", "bb", "cc").inOrder(); in testBuilderOrderKeysByDuplicates()
278 assertThat(multimap.values()).has().exactly(2, 5, 2, 3, 6, 4).inOrder(); in testBuilderOrderKeysByDuplicates()
279 assertThat(multimap.get("a")).has().exactly(5, 2).inOrder(); in testBuilderOrderKeysByDuplicates()
280 assertThat(multimap.get("bb")).has().exactly(3, 6).inOrder(); in testBuilderOrderKeysByDuplicates()
297 assertThat(multimap.keySet()).has().exactly("b", "d", "a", "c").inOrder(); in testBuilderOrderValuesBy()
298 assertThat(multimap.values()).has().exactly(6, 3, 2, 5, 2, 4).inOrder(); in testBuilderOrderValuesBy()
[all …]
DEnumBiMapTest.java200 .has().exactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO).inOrder(); in testIterationOrder()
203 .has().exactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE).inOrder(); in testIterationOrder()
206 .has().exactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND).inOrder(); in testIterationOrder()
209 .has().exactly(Currency.DOLLAR, Currency.PESO, Currency.FRANC).inOrder(); in testIterationOrder()
227 .has().exactly(Currency.FRANC, Currency.PESO).inOrder(); in testKeySetIteratorRemove()
230 .has().exactly(Country.SWITZERLAND, Country.CHILE).inOrder(); in testKeySetIteratorRemove()
233 .has().exactly(Country.CHILE, Country.SWITZERLAND).inOrder(); in testKeySetIteratorRemove()
236 .has().exactly(Currency.PESO, Currency.FRANC).inOrder(); in testKeySetIteratorRemove()
255 .has().exactly(Currency.DOLLAR, Currency.PESO).inOrder(); in testValuesIteratorRemove()
258 .has().exactly(Country.CANADA, Country.CHILE).inOrder(); in testValuesIteratorRemove()
[all …]
DLinkedHashMultimapTest.java154 assertThat(multimap.keySet()).has().exactly("a", "b", "c").inOrder(); in testSerializationOrderingKeysAndEntries()
158 mapEntry("c", 4)).inOrder(); in testSerializationOrderingKeysAndEntries()
163 assertThat(multimap.get("foo")).has().exactly(5, 3).inOrder(); in assertOrderingReadOnly()
164 assertThat(multimap.get("bar")).has().exactly(4, 1).inOrder(); in assertOrderingReadOnly()
167 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder(); in assertOrderingReadOnly()
168 assertThat(multimap.values()).has().exactly(5, 4, 3, 2, 1).inOrder(); in assertOrderingReadOnly()
182 assertThat(entry.getValue()).has().exactly(5, 3).inOrder(); in assertOrderingReadOnly()
185 assertThat(entry.getValue()).has().exactly(4, 1).inOrder(); in assertOrderingReadOnly()
194 assertThat(multimap.replaceValues("foo", asList(6, 7))).has().exactly(5, 3).inOrder(); in testOrderingUpdates()
195 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder(); in testOrderingUpdates()
[all …]
/external/mockito/src/org/mockito/internal/verification/
DInOrderWrapper.java20 private final InOrderImpl inOrder; field in InOrderWrapper
22 public InOrderWrapper(VerificationInOrderMode mode, InOrderImpl inOrder) { in InOrderWrapper() argument
24 this.inOrder = inOrder; in InOrderWrapper()
28 …List<Invocation> invocations = new VerifiableInvocationsFinder().find(inOrder.getMocksToBeVerified… in verify()
29 …VerificationDataInOrderImpl dataInOrder = new VerificationDataInOrderImpl(inOrder, invocations, da… in verify()
/external/mockito/src/org/mockito/internal/verification/api/
DVerificationDataInOrderImpl.java14 private final InOrderContext inOrder; field in VerificationDataInOrderImpl
18 …public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, Invoca… in VerificationDataInOrderImpl() argument
19 this.inOrder = inOrder; in VerificationDataInOrderImpl()
29 return inOrder; in getOrderingContext()
/external/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java40 import static com.google.testing.littlemock.LittleMock.inOrder;
1442 InOrder inOrder = inOrder(firstMock, secondMock); in testInorderExample_Success() local
1443 inOrder.verify(firstMock).add("was called first"); in testInorderExample_Success()
1444 inOrder.verify(secondMock).add("was called second"); in testInorderExample_Success()
1454 InOrder inOrder = inOrder(firstMock, secondMock); in testInorderExample_Failure() local
1455 inOrder.verify(secondMock).add("was called second"); in testInorderExample_Failure()
1457 inOrder.verify(firstMock).add("was called first"); in testInorderExample_Failure()
1470 InOrder inOrder = inOrder(firstMock); in testInorderInterleave() local
1471 inOrder.verify(firstMock).add("a"); in testInorderInterleave()
1472 inOrder.verify(firstMock).add("b"); in testInorderInterleave()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DFunnelsTest.java19 import static org.mockito.Mockito.inOrder;
105 InOrder inOrder = inOrder(elementFunnel); in testSequential() local
106 inOrder.verify(elementFunnel).funnel("foo", primitiveSink); in testSequential()
107 inOrder.verify(elementFunnel).funnel("bar", primitiveSink); in testSequential()
108 inOrder.verify(elementFunnel).funnel("baz", primitiveSink); in testSequential()
109 inOrder.verify(elementFunnel).funnel("quux", primitiveSink); in testSequential()
/external/guava/guava-testlib/test/com/google/common/testing/
DAbstractPackageSanityTestsTest.java51 .has().exactly(Foo.class).inOrder(); in testFindClassesToTest_noCorrespondingTestClass()
53 .has().exactly(Foo.class).inOrder(); in testFindClassesToTest_noCorrespondingTestClass()
72 .has().exactly(Foo.class).inOrder(); in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested()
74 .has().exactly(Foo.class).inOrder(); in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested()
87 .has().exactly(Foo.class).inOrder(); in testFindClassesToTest_withCorrespondingTestClass_noTestName()

12345