Searched refs:inOrder (Results 1 – 4 of 4) sorted by relevance
121 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_NoCalls() local122 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() local135 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() local151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls()152 inOrder.verify(mDataOutput).writeInt(3 /* size */); in testWriteState_MultipleCalls()[all …]
22 import static org.mockito.Mockito.inOrder;464 private void verifyDisplayedIpv6Addresses(InOrder inOrder, LinkAddress... addresses) { in verifyDisplayedIpv6Addresses() argument468 inOrder.verify(mockIpv6AddressesPref).setSummary(text); in verifyDisplayedIpv6Addresses()475 InOrder inOrder = inOrder(mockIpAddressPref, mockGatewayPref, mockSubnetPref, in onLinkPropertiesChanged_updatesFields() local482 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 …]
122 InOrder inOrder = Mockito.inOrder(wrapper); in testOpenCamera() local123 inOrder.verify(wrapper).open(1); in testOpenCamera()124 inOrder.verify(wrapper).release(backCamera); in testOpenCamera()125 inOrder.verify(wrapper).open(0); in testOpenCamera()
117 assertThat(results).containsExactlyElementsIn(sortedDummyResults).inOrder(); in testEndToEndSearch_properResultsMerged_correctOrder()136 assertThat(results).containsExactlyElementsIn(sortedDummyResults).inOrder(); in testEndToEndSearch_addResults_resultsAddedInOrder()