/external/mockito/src/test/java/org/mockitousage/misuse/ |
DescriptiveMessagesOnMisuseTest.java | 35 // verify(foo).finalMethod(); 51 // inOrder.verify(mock).simpleMethod(); 53 // verify(null); 54 // verify(mock.booleanReturningMethod()); 56 // verify(mock).varargs("test", anyString()); 66 verify(mock.booleanReturningMethod()); 86 verify(null);
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/cal10n_dummy/ |
LocLoggerTest.java | 65 void verify(LoggingEvent le, String expectedMsg) { method in class:LocLoggerTest 77 verify((LoggingEvent) listAppender.list.get(0), "January"); method
|
/external/vboot_reference/scripts/ |
getversion.sh | 9 if ghash=$(git rev-parse --short --verify HEAD 2>/dev/null); then
|
/external/volley/src/test/java/com/android/volley/ |
RequestQueueIntegrationTest.java | 46 * Integration tests for {@link RequestQueue}, that verify its behavior in conjunction with real dispatcher, queues and 91 // as an alternative, first verify no requests have finished, while higherPriorityReq should be processing 93 // verify higherPriorityReq goes through first 94 verify(listener, timeout(100)).onRequestFinished(higherPriorityReq); 95 // verify lowerPriorityReq goes last 96 verify(listener, timeout(10)).onRequestFinished(lowerPriorityReq); 129 // as an alternative, first verify no requests have finished, then verify req1 goes through 131 verify(listener, timeout(100)).onRequestFinished(req1); 132 verify(listener, timeout(10)).onRequestFinished(req2) [all...] |
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/ |
PreferenceControllerTest.java | 38 import static org.mockito.Mockito.verify; 68 verify(mScreen).removePreference(mPreference); 75 verify(mScreen, never()).removePreference(any(Preference.class)); 84 verify(mScreen, never()).removePreference(any(Preference.class)); 96 verify(mScreen).removePreference(any(Preference.class)); 145 verify(prefRoot).removePreference(pref1); 148 verify(prefGroup41).removePreference(pref411); 151 verify(prefGroup4).removePreference(prefGroup41);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
TileAdapterTest.java | 19 import static org.mockito.Mockito.verify; 51 verify(host).changeTiles(any(), any());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
ZenModeControllerImplTest.java | 19 import static org.mockito.Mockito.verify; 53 verify(mockCallback).onConfigChanged(eq(null));
|
/frameworks/data-binding/samples/BindingDemo/app/src/test/java/com/android/example/bindingdemo/vo/ |
UnitTest.java | 12 import static org.mockito.Mockito.verify; 37 verify(mockListener).onPropertyChanged(testUser, BR.name);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiLockManagerTest.java | 78 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0)); 79 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(ws); 88 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); 89 inOrder.verify(mBatteryStats).noteFullWifiLockReleasedFromSource(any(WorkSource.class)); 101 * Test to verify that the lock mode is verified before adding a lock. 187 * Test used to verify call for getStrongestLockMode. 212 * Steps: call createMergedWorkSource and verify it is empty, add a lock and call again, it 231 * Expected: Verify calls to release the original WorkSource and acquire with the new one to 242 inOrder.verify(mBatteryStats).noteFullWifiLockReleasedFromSource(mWorkSource); 243 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
WifiAwareDataPathStateManagerTest.java | 30 import static org.mockito.Mockito.verify; 168 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); 176 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 191 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 212 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 219 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 449 inOrder.verify(mMockNative).respondToDataPathRequest(anyShort(), eq(false), 499 inOrder.verify(mMockNative).initiateDataPath(transactionId.capture(), 517 inOrder.verify(mMockCm).registerNetworkAgent(messengerCaptor.capture(), any(), any(), 523 inOrder.verify(mMockNative).endDataPath(transactionId.capture(), eq(ndpId)) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
WifiHandlerTest.java | 25 import static org.mockito.Mockito.verify; 60 verify(mWifiLog).trace(contains("message"));
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
ItemTest.java | 26 import static org.mockito.Mockito.verify; 112 inOrder.verify(mObserver).onItemRangeChanged(eq(item), eq(0), eq(1)); 115 inOrder.verify(mObserver).onItemRangeChanged(eq(item), eq(0), eq(1)); 118 inOrder.verify(mObserver).onItemRangeChanged(eq(item), eq(0), eq(1)); 122 inOrder.verify(mObserver).onItemRangeChanged(eq(item), eq(0), eq(1)); 127 inOrder.verify(mObserver).onItemRangeChanged(eq(item), eq(0), eq(1)); 172 verify(mObserver).onItemRangeRemoved(eq(item), eq(0), eq(1)); 175 verify(mObserver).onItemRangeInserted(eq(item), eq(0), eq(1));
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneFactoryTest.java | 31 import static org.mockito.Mockito.verify; 73 verify(mPhoneNotifer, times(1)).notifyDataActivity(eq(mImsPhoneUT));
|
/hardware/interfaces/gatekeeper/1.0/ |
IGatekeeper.hal | 27 * currentPassword. Valid currentPassword must verify() against 37 * it MUST verify against current_password_handle if the latter is not-empty 46 * verify. On error, this buffer must be empty. 74 * user wishes to verify against. Must be non-empty. 89 verify(uint32_t uid, uint64_t challenge,
|
/libcore/luni/src/main/java/libcore/util/ |
RecoverySystem.java | 39 public static void verify(InputStream blockStream, InputStream contentStream, method in class:RecoverySystem 71 SignerInfo verifyResult = block.verify(signerInfo, contentStream);
|
/libcore/ojluni/src/main/java/java/security/cert/ |
X509Certificate.java | 330 * This can be used to verify the signature independently. 673 public void verify(PublicKey key, Provider sigProvider) method in class:X509Certificate 682 // X509CertImpl.verify(this, key, sigProvider); 683 super.verify(key, sigProvider);
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
Certificate.java | 140 public abstract void verify(PublicKey key) method in class:Certificate 159 public abstract void verify(PublicKey key, String sigProvider) method in class:Certificate
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
RemoteDevicesTest.java | 24 import static org.mockito.Mockito.verify; 40 verify(mockService).sendBroadcast(any(), anyString());
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 96 verify(getActivity(), mVideoUri); 111 verify(getActivity(), uri); 127 verify(getActivity(), mVideoUri); 168 verify(getActivity(), uri); 189 int duration = verify(getActivity(), uri); 211 verify(getActivity(), uri); 223 verify(getActivity(), uri); 227 // Verify result code, result data, and the duration. 228 private int verify(VideoCamera activity, Uri uri) throws Exception { 232 // Verify the video fil [all...] |
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
InstallPackageTaskTest.java | 27 import static org.mockito.Mockito.verify; 84 verify(mPackageManager, never()).installPackage( 89 verify(mCallback).onSuccess(mTask); 109 verify(mCallback).onSuccess(mTask); 129 verify(mCallback).onSuccess(mTask); 149 verify(mCallback).onError(mTask, ERROR_INSTALLATION_FAILED); 169 verify(mCallback).onError(mTask, ERROR_PACKAGE_INVALID); 179 verify(mPackageManager).installPackage(
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
ZonePickerTest.java | 39 import static org.mockito.Mockito.verify; 66 verify(mZonePicker).onCreateView(
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
VerifyAppsOverUsbPreferenceControllerTest.java | 23 import static org.mockito.Mockito.verify; 111 verify(mPreference).setChecked(true); 121 verify(mPreference).setChecked(false); 131 verify(mPreference).setChecked(false); 143 verify(mPreference).setChecked(false); 154 verify(mPreference).setChecked(false); 166 verify(mPreference).setDisabledByAdmin(admin); 177 verify(mScreen).removePreference(mPreference);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
NetworkResetPreferenceControllerTest.java | 36 import static org.mockito.Mockito.verify; 67 verify(mRestrictionChecker, never()).isRestrictionEnforcedByAdmin();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
RingtonePreferenceControllerBaseTest.java | 36 import static org.mockito.Mockito.verify; 65 verify(preference).setSummary(anyString());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
WifiEnablerTest.java | 36 import static org.mockito.Mockito.verify; 67 verify(mConnectivityManager).stopTethering(ConnectivityManager.TETHERING_WIFI);
|