Searched refs:doAnswer (Results 1 – 10 of 10) sorted by relevance
27 import static org.mockito.Mockito.doAnswer;760 doAnswer(layoutAnswer).when(adapter).onLayout(any(PrintAttributes.class), in createMockPrintDocumentAdapter()765 doAnswer(writeAnswer).when(adapter).onWrite(any(PageRange[].class), in createMockPrintDocumentAdapter()770 doAnswer(finishAnswer).when(adapter).onFinish(); in createMockPrintDocumentAdapter()830 doAnswer(onStartPrinterDiscovery).when(callbacks).onStartPrinterDiscovery( in createMockPrinterDiscoverySessionCallbacks()834 doAnswer(onStopPrinterDiscovery).when(callbacks).onStopPrinterDiscovery(); in createMockPrinterDiscoverySessionCallbacks()837 doAnswer(onValidatePrinters).when(callbacks).onValidatePrinters( in createMockPrinterDiscoverySessionCallbacks()841 doAnswer(onStartPrinterStateTracking).when(callbacks).onStartPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks()845 doAnswer(onRequestCustomPrinterIcon).when(callbacks).onRequestCustomPrinterIcon( in createMockPrinterDiscoverySessionCallbacks()850 doAnswer(onStopPrinterStateTracking).when(callbacks).onStopPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks()[all …]
23 import static org.mockito.Mockito.doAnswer;797 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaComponentName()876 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetId()965 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetIds()1046 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetId()1126 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()1150 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()1220 doAnswer(new Answer<Void>() { in testCollectionWidgets()1261 doAnswer(new Answer<Integer>() { in testCollectionWidgets()1267 doAnswer(new Answer<RemoteViews>() { in testCollectionWidgets()[all …]
21 import static org.mockito.Mockito.doAnswer;48 doAnswer((InvocationOnMock invocation) -> mActivity.getLayoutInflater().inflate( in testDynamicConstructor()
28 import static org.mockito.Mockito.doAnswer;135 doAnswer((InvocationOnMock invocation) -> { in testSetProperties() method374 doAnswer((InvocationOnMock invocation) -> { in testSetupListeners() method
25 import static org.mockito.Mockito.doAnswer;189 doAnswer((InvocationOnMock invocation) -> { in testDispatch() method
24 import static org.mockito.Mockito.doAnswer;162 doAnswer(new Answer<RemoteViews>() { in setup()
30 import static org.mockito.Mockito.doAnswer;947 doAnswer((InvocationOnMock invocation) -> { in configureMultiChoiceModalState() method
32 import static org.mockito.Mockito.doAnswer;3162 doAnswer((InvocationOnMock invocation) -> { in testPerformLongClick() method
30 import static org.mockito.Mockito.doAnswer;179 doAnswer((InvocationOnMock invocation) -> { in testGetPadding() method186 doAnswer((InvocationOnMock invocation) -> { in testGetPadding() method
31 import static org.mockito.Mockito.doAnswer;748 doAnswer(invocation -> { in testSetBounds()753 doAnswer(invocation -> { in testSetBounds()806 doAnswer(invocation -> { in testGetIntrinsicWidth()811 doAnswer(invocation -> { in testGetIntrinsicWidth()849 doAnswer(invocation -> { in testGetIntrinsicHeight()854 doAnswer(invocation -> { in testGetIntrinsicHeight()