Home
last modified time | relevance | path

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

/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java121 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_NoCalls() local
122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_NoCalls()
123 inOrder.verify(mDataOutput).writeInt(0 /* size */); in testWriteState_NoCalls()
134 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_OneCall() local
135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_OneCall()
136 inOrder.verify(mDataOutput).writeInt(1); in testWriteState_OneCall()
137 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */); in testWriteState_OneCall()
150 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_MultipleCalls() local
151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls()
152 inOrder.verify(mDataOutput).writeInt(3 /* size */); in testWriteState_MultipleCalls()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java22 import static org.mockito.Mockito.inOrder;
464 private void verifyDisplayedIpv6Addresses(InOrder inOrder, LinkAddress... addresses) { in verifyDisplayedIpv6Addresses() argument
468 inOrder.verify(mockIpv6AddressesPref).setSummary(text); in verifyDisplayedIpv6Addresses()
475 InOrder inOrder = inOrder(mockIpAddressPref, mockGatewayPref, mockSubnetPref, in onLinkPropertiesChanged_updatesFields() local
482 verifyDisplayedIpv6Addresses(inOrder, Constants.IPV6_LINKLOCAL); in onLinkPropertiesChanged_updatesFields()
483 inOrder.verify(mockIpv6Category).setVisible(true); in onLinkPropertiesChanged_updatesFields()
487 inOrder.verify(mockGatewayPref).setDetailText(Constants.IPV4_GATEWAY.getHostAddress()); in onLinkPropertiesChanged_updatesFields()
488 inOrder.verify(mockGatewayPref).setVisible(true); in onLinkPropertiesChanged_updatesFields()
493 inOrder.verify(mockIpAddressPref).setDetailText(asString(Constants.IPV4_ADDR)); in onLinkPropertiesChanged_updatesFields()
494 inOrder.verify(mockIpAddressPref).setVisible(true); in onLinkPropertiesChanged_updatesFields()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java122 InOrder inOrder = Mockito.inOrder(wrapper); in testOpenCamera() local
123 inOrder.verify(wrapper).open(1); in testOpenCamera()
124 inOrder.verify(wrapper).release(backCamera); in testOpenCamera()
125 inOrder.verify(wrapper).open(0); in testOpenCamera()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchResultsAdapterTest.java117 assertThat(results).containsExactlyElementsIn(sortedDummyResults).inOrder(); in testEndToEndSearch_properResultsMerged_correctOrder()
136 assertThat(results).containsExactlyElementsIn(sortedDummyResults).inOrder(); in testEndToEndSearch_addResults_resultsAddedInOrder()