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; 135 InOrder inOrder = inOrder(adapter); in testNoPrintOptionsOrPrinterChange() local 138 inOrder.verify(adapter).onStart(); in testNoPrintOptionsOrPrinterChange() 150 verifyLayoutCall(inOrder, adapter, firstOldAttributes, firstNewAttributes, true); in testNoPrintOptionsOrPrinterChange() 154 inOrder.verify(adapter).onWrite(eq(firstPages), any(ParcelFileDescriptor.class), in testNoPrintOptionsOrPrinterChange() 169 verifyLayoutCall(inOrder, adapter, secondOldAttributes, secondNewAttributes, true); in testNoPrintOptionsOrPrinterChange() 172 verifyLayoutCall(inOrder, adapter, secondNewAttributes, secondNewAttributes, false); in testNoPrintOptionsOrPrinterChange() 179 inOrder.verify(adapter).onFinish(); in testNoPrintOptionsOrPrinterChange() 250 InOrder inOrder = inOrder(adapter); in testNoPrintOptionsOrPrinterChangeCanceled() local 253 inOrder.verify(adapter).onStart(); in testNoPrintOptionsOrPrinterChangeCanceled() [all …]
|
D | PrinterDiscoverySessionLifecycleTest.java | 19 import static org.mockito.Mockito.inOrder; 132 InOrder inOrder = inOrder(firstSessionCallbacks); in testNormalLifecycle() local 136 inOrder.verify(firstSessionCallbacks).onStartPrinterDiscovery( in testNormalLifecycle() 140 inOrder.verify(firstSessionCallbacks).onStartPrinterStateTracking( in testNormalLifecycle() 144 inOrder.verify(firstSessionCallbacks).onStopPrinterStateTracking( in testNormalLifecycle() 148 inOrder.verify(firstSessionCallbacks).onStartPrinterStateTracking( in testNormalLifecycle() 152 inOrder.verify(firstSessionCallbacks).onStopPrinterStateTracking( in testNormalLifecycle() 156 inOrder.verify(firstSessionCallbacks).onStopPrinterDiscovery(); in testNormalLifecycle() 159 inOrder.verify(firstSessionCallbacks).onDestroy(); in testNormalLifecycle() 228 InOrder inOrder = inOrder(firstSessionCallbacks); in testCancelPrintServicesAlertDialog() local [all …]
|
D | PageRangeAdjustmentTest.java | 20 import static org.mockito.Mockito.inOrder; 161 InOrder inOrder = inOrder(firstServiceCallbacks); in testAllPagesWantedAndAllPagesWritten() local 164 inOrder.verify(firstServiceCallbacks) in testAllPagesWantedAndAllPagesWritten() 168 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testAllPagesWantedAndAllPagesWritten() 276 InOrder inOrder = inOrder(firstServiceCallbacks); in testSomePagesWantedAndAllPagesWritten() local 279 inOrder.verify(firstServiceCallbacks) in testSomePagesWantedAndAllPagesWritten() 283 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testSomePagesWantedAndAllPagesWritten() 410 InOrder inOrder = inOrder(firstServiceCallbacks); in testSomePagesWantedAndSomeMorePagesWritten() local 413 inOrder.verify(firstServiceCallbacks) in testSomePagesWantedAndSomeMorePagesWritten() 417 inOrder.verify(firstServiceCallbacks).onPrintJobQueued( in testSomePagesWantedAndSomeMorePagesWritten() [all …]
|
D | BasePrintTest.java | 613 protected void verifyLayoutCall(InOrder inOrder, PrintDocumentAdapter mock, in verifyLayoutCall() argument 616 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/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 382 InOrder inOrder = inOrder(listener); in verifyCameraStateOpened() local 390 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()
|