Searched refs:inOrder (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentAdapterContractTest.java | 21 import static org.mockito.Mockito.inOrder; 132 InOrder inOrder = inOrder(adapter); in testNoPrintOptionsOrPrinterChange() local 135 inOrder.verify(adapter).onStart(); in testNoPrintOptionsOrPrinterChange() 146 verifyLayoutCall(inOrder, adapter, firstOldAttributes, firstNewAttributes, true); in testNoPrintOptionsOrPrinterChange() 150 inOrder.verify(adapter).onWrite(eq(firstPages), any(ParcelFileDescriptor.class), in testNoPrintOptionsOrPrinterChange() 165 verifyLayoutCall(inOrder, adapter, secondOldAttributes, secondNewAttributes, true); in testNoPrintOptionsOrPrinterChange() 168 verifyLayoutCall(inOrder, adapter, secondNewAttributes, secondNewAttributes, false); in testNoPrintOptionsOrPrinterChange() 175 inOrder.verify(adapter).onFinish(); in testNoPrintOptionsOrPrinterChange() 246 InOrder inOrder = inOrder(adapter); in testNoPrintOptionsOrPrinterChangeCanceled() local 249 inOrder.verify(adapter).onStart(); in testNoPrintOptionsOrPrinterChangeCanceled() [all …]
|
D | PrinterDiscoverySessionLifecycleTest.java | 19 import static org.mockito.Mockito.inOrder; 130 InOrder inOrder = inOrder(firstSessionCallbacks); in testNormalLifecycle() local 134 inOrder.verify(firstSessionCallbacks).onStartPrinterDiscovery( in testNormalLifecycle() 138 inOrder.verify(firstSessionCallbacks).onStartPrinterStateTracking( in testNormalLifecycle() 142 inOrder.verify(firstSessionCallbacks).onStopPrinterStateTracking( in testNormalLifecycle() 146 inOrder.verify(firstSessionCallbacks).onStartPrinterStateTracking( in testNormalLifecycle() 150 inOrder.verify(firstSessionCallbacks).onStopPrinterStateTracking( in testNormalLifecycle() 154 inOrder.verify(firstSessionCallbacks).onStopPrinterDiscovery(); in testNormalLifecycle() 157 inOrder.verify(firstSessionCallbacks).onDestroy(); in testNormalLifecycle() 237 InOrder inOrder = inOrder(firstSessionCallbacks); in testStartPrinterDiscoveryWithHistoricalPrinters() local [all …]
|
D | PageRangeAdjustmentTest.java | 20 import static org.mockito.Mockito.inOrder; 156 InOrder inOrder = inOrder(firstServiceCallbacks); in testAllPagesWantedAndAllPagesWritten() local 159 inOrder.verify(firstServiceCallbacks) in testAllPagesWantedAndAllPagesWritten() 163 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testAllPagesWantedAndAllPagesWritten() 268 InOrder inOrder = inOrder(firstServiceCallbacks); in testSomePagesWantedAndAllPagesWritten() local 271 inOrder.verify(firstServiceCallbacks) in testSomePagesWantedAndAllPagesWritten() 275 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testSomePagesWantedAndAllPagesWritten() 396 InOrder inOrder = inOrder(firstServiceCallbacks); in testSomePagesWantedAndSomeMorePagesWritten() local 399 inOrder.verify(firstServiceCallbacks) in testSomePagesWantedAndSomeMorePagesWritten() 403 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testSomePagesWantedAndSomeMorePagesWritten() [all …]
|
D | BasePrintTest.java | 394 protected void verifyLayoutCall(InOrder inOrder, PrintDocumentAdapter mock, in verifyLayoutCall() argument 397 inOrder.verify(mock).onLayout(eq(oldAttributes), eq(newAttributes), in verifyLayoutCall()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 25 import static org.mockito.Mockito.inOrder; 277 InOrder inOrder = inOrder(callbacks); in testAppWidgetProviderCallbacks() local 279 inOrder.verify(callbacks).onEnabled(any(Context.class)); in testAppWidgetProviderCallbacks() 280 inOrder.verify(callbacks).onUpdate(any(Context.class), in testAppWidgetProviderCallbacks() 282 inOrder.verify(callbacks).onAppWidgetOptionsChanged(any(Context.class), in testAppWidgetProviderCallbacks() 285 inOrder.verify(callbacks).onUpdate(any(Context.class), in testAppWidgetProviderCallbacks() 287 inOrder.verify(callbacks).onAppWidgetOptionsChanged(any(Context.class), in testAppWidgetProviderCallbacks() 290 inOrder.verify(callbacks).onDeleted(any(Context.class), in testAppWidgetProviderCallbacks() 292 inOrder.verify(callbacks).onDeleted(any(Context.class), in testAppWidgetProviderCallbacks() 294 inOrder.verify(callbacks).onDisabled(any(Context.class)); in testAppWidgetProviderCallbacks() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 168 boolean inOrder, ContentValues... expectedValues) { in assertStoredValuesInUriMatchExactly() argument 171 if (inOrder) { in assertStoredValuesInUriMatchExactly()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 381 InOrder inOrder = inOrder(listener); in verifyCameraStateOpened() local 389 inOrder.verify(listener) in verifyCameraStateOpened()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_FrequentsStrequentsTest.java | 382 boolean inOrder, ContentValues... expected) { in assertCursorStoredValuesWithContactsFilter() argument 394 null, null, inOrder, expected); in assertCursorStoredValuesWithContactsFilter()
|