HomeSort by relevance Sort by last modified time
    Searched refs:verify (Results 151 - 175 of 3773) sorted by null

1 2 3 4 5 67 8 91011>>

  /art/runtime/dex/
art_dex_file_loader.h 62 bool verify,
70 bool verify,
77 bool verify,
85 bool verify,
93 bool verify,
101 bool verify,
109 bool verify,
119 bool verify,
131 bool verify,
  /external/mockito/src/test/java/org/mockito/internal/runners/
DefaultInternalRunnerTest.java 37 verify(runListener, never()).testFailure(any(Failure.class));
38 verify(runListener, times(1)).testFinished(any(Description.class));
39 verify(mockitoTestListener, only()).testFinished(any(TestFinishedEvent.class));
47 verify(runListener, times(1)).testFailure(any(Failure.class));
48 verify(runListener, never()).testFinished(any(Description.class));
49 verify(mockitoTestListener, never()).testFinished(any(TestFinishedEvent.class));
56 verify(runListener, never()).testFailure(any(Failure.class));
57 verify(runListener, times(1)).testFinished(any(Description.class));
58 verify(mockitoTestListener, only()).testFinished(any(TestFinishedEvent.class));
  /external/mockito/src/test/java/org/mockitousage/matchers/
HamcrestMatchersTest.java 21 import static org.mockito.Mockito.verify;
52 verify(mock).simpleMethod(argThat(new ContainsX()));
82 verify(mock).oneArg(booleanThat(is(true)));
83 verify(mock).oneArg(byteThat(is((byte) 1)));
84 verify(mock).oneArg(intThat(is(2)));
85 verify(mock).oneArg(longThat(is(3L)));
86 verify(mock).oneArg(charThat(is('4')));
87 verify(mock).oneArg(doubleThat(is(5.0D)));
88 verify(mock).oneArg(floatThat(is(6.0F)));
  /external/mockito/src/test/java/org/mockitousage/verification/
VerificationUsingMatchersTest.java 23 import static org.mockito.Mockito.verify;
40 verify(mock, times(3)).simpleMethod(anyInt());
56 verify(mock).oneArg(same(one));
57 verify(mock, times(2)).oneArg(two);
60 verify(mock).oneArg(same(three));
71 verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123"));
79 verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123"));
87 verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123"));
94 verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123"));
OrdinaryVerificationPrintsAllInteractionsTest.java 16 import static org.mockito.Mockito.verify;
29 verify(mock).otherMethod(); //verify 1st interaction
32 verify(mock).simpleMethod();
49 verify(mock).simpleMethod();
59 verify(mock).simpleMethod();
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
WakefulnessLifecycleTest.java 22 import static org.mockito.Mockito.verify;
64 verify(mWakefulnessObserver).onStartedWakingUp();
74 verify(mWakefulnessObserver).onFinishedWakingUp();
86 verify(mWakefulnessObserver).onStartedGoingToSleep();
99 verify(mWakefulnessObserver).onFinishedGoingToSleep();
113 verify(mWakefulnessObserver, times(1)).onStartedGoingToSleep();
114 verify(mWakefulnessObserver, times(1)).onFinishedGoingToSleep();
115 verify(mWakefulnessObserver, times(1)).onStartedWakingUp();
116 verify(mWakefulnessObserver, times(1)).onFinishedWakingUp();
  /frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
SortedListBatchedCallbackTest.java 19 import static org.mockito.Mockito.verify;
48 verify(mMockCallback).onChanged(1, 2, null);
58 verify(mMockCallback).onChanged(1, 2, payload);
67 verify(mMockCallback).onRemoved(2, 3);
76 verify(mMockCallback).onInserted(3, 4);
84 verify(mMockCallback).onMoved(5, 6);
93 verify(mMockCallback).compare(o1, o2);
102 verify(mMockCallback).areContentsTheSame(o1, o2);
111 verify(mMockCallback).areItemsTheSame(o1, o2);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/development/
AnimatorDurationScalePreferenceControllerTest.java 21 import static org.mockito.Mockito.verify;
83 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE);
90 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR,
101 verify(mPreference).setValue(mListValues[5]);
102 verify(mPreference).setSummary(mListSummaries[5]);
112 verify(mPreference).setValue(mListValues[3]);
113 verify(mPreference).setSummary(mListSummaries[3]);
120 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE);
121 verify(mPreference).setEnabled(false);
TransitionAnimationScalePreferenceControllerTest.java 21 import static org.mockito.Mockito.verify;
83 verify(mWindowManager)
91 verify(mWindowManager)
102 verify(mPreference).setValue(mListValues[5]);
103 verify(mPreference).setSummary(mListSummaries[5]);
113 verify(mPreference).setValue(mListValues[3]);
114 verify(mPreference).setSummary(mListSummaries[3]);
121 verify(mWindowManager)
123 verify(mPreference).setEnabled(false);
WindowAnimationScalePreferenceControllerTest.java 21 import static org.mockito.Mockito.verify;
83 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE);
90 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR,
101 verify(mPreference).setValue(mListValues[5]);
102 verify(mPreference).setSummary(mListSummaries[5]);
112 verify(mPreference).setValue(mListValues[3]);
113 verify(mPreference).setSummary(mListSummaries[3]);
120 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE);
121 verify(mPreference).setEnabled(false);
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletUtilsTest.java 7 import static org.easymock.EasyMock.verify;
26 verify(servletRequest);
36 verify(servletRequest);
46 verify(servletRequest);
56 verify(servletRequest);
  /external/mockito/src/test/java/org/mockito/internal/verification/
DescriptionTest.java 17 import static org.mockito.Mockito.verify;
34 * Test of verify method, of class Description. This test validates that the custom message is prepended to the
43 doThrow(error).when(mockVerificationMode).verify(mockVerificationData);
48 instance.verify(mockVerificationData);
49 verify(mockVerificationMode).verify(mockVerificationData);
  /external/mockito/src/test/java/org/mockitousage/misuse/
RestrictedObjectMethodsTest.java 20 import static org.mockito.Mockito.verify;
34 verify(mock).toString();
37 assertThat(e).hasMessageContaining("cannot verify");
46 verify(mock).hashCode();
54 verify(mock).equals(null);
63 inOrder.verify(mock).equals(null);
  /frameworks/support/car/src/test/java/androidx/car/utils/
ListItemBackgroundResolverTest.java 20 import static org.mockito.Mockito.verify;
50 verify(mMockView).setBackgroundResource(R.drawable.car_card_rounded_background);
57 verify(mMockView).setBackgroundResource(R.drawable.car_card_rounded_top_background);
64 verify(mMockView).setBackgroundResource(R.drawable.car_card_rounded_bottom_background);
71 verify(mMockView).setBackgroundResource(R.drawable.car_card_background);
  /frameworks/support/lifecycle/process/src/test/java/androidx/lifecycle/
DispatcherActivityCallbackTest.java 22 import static org.mockito.Mockito.verify;
54 verify(activity).getFragmentManager();
55 verify(fm).beginTransaction();
56 verify(transaction).add(any(ReportFragment.class), anyString());
57 verify(transaction).commit();
  /packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DeviceListPreferenceFragmentTest.java 26 import static org.mockito.Mockito.verify;
86 verify(mLocalAdapter).startScanning(true);
90 verify(mLocalAdapter).stopScanning();
98 verify(mLocalAdapter).startScanning(true);
101 verify(mLocalAdapter, times(1)).startScanning(anyBoolean());
108 verify(mLocalAdapter).startScanning(true);
112 verify(mLocalAdapter, times(2)).startScanning(true);
120 verify(mLocalAdapter).startScanning(true);
123 verify(mLocalAdapter, times(1)).startScanning(anyBoolean());
126 verify(mLocalAdapter, times(2)).startScanning(true)
    [all...]
BluetoothDetailsButtonsControllerTest.java 24 import static org.mockito.Mockito.verify;
84 verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_disconnect);
85 verify(mButtonsPref).setButton1Text(R.string.forget);
93 verify(mCachedDevice).disconnect();
101 verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_connect);
104 verify(mCachedDevice).connect(eq(true));
111 verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_disconnect);
116 verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_connect);
120 verify(mCachedDevice).connect(eq(true));
129 verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_connect)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WakeupControllerTest.java 26 import static org.mockito.Mockito.verify;
134 verify(mWifiConfigStore).registerStoreData(captor.capture());
158 verify(mWifiSettingsStore, never()).handleWifiToggled(true /* wifiEnabled */);
162 * Verify WakeupController is enabled when the settings toggle is true.
172 * Verify WakeupController is disabled when the settings toggle is false.
182 * Verify WakeupController registers its store data with the WifiConfigStore on construction.
187 verify(mWifiConfigStore).registerStoreData(any(WakeupConfigStoreData.class));
191 * Verify that dump calls also dump the state of the WakeupLock.
200 verify(mWakeupLock).dump(null, writer, null);
204 * Verify that start sets the wakeup lock
    [all...]
ScanOnlyModeManagerTest.java 35 import static org.mockito.Mockito.verify;
98 verify(mWifiNative).setupInterfaceForClientMode(eq(true),
106 verify(mContext, times(2)).sendStickyBroadcastAsUser(intentCaptor.capture(),
113 verify(mScanRequestProxy, atLeastOnce()).clearScanResults();
114 verify(mScanRequestProxy, atLeastOnce()).enableScanningForHiddenNetworks(false);
125 verify(mListener).onStateChanged(eq(expectedCurrentState));
146 verify(mContext, never()).sendStickyBroadcastAsUser(any(), eq(UserHandle.ALL));
171 verify(mWifiNative).teardownInterface(TEST_INTERFACE_NAME);
172 verify(mContext, never()).sendStickyBroadcastAsUser(any(), eq(UserHandle.ALL));
185 verify(mContext, never()).sendStickyBroadcastAsUser(any(), eq(UserHandle.ALL))
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
FileUpdaterTest.java 27 import static org.mockito.Mockito.verify;
138 verify(mInjector, times(times)).injectWtf(anyOrNullString(), anyOrNull(Throwable.class));
153 verify(mInjector, times(0)).injectWriteToFile(anyOrNullString(), anyOrNullString());
159 verify(mInjector, times(0)).injectWriteToFile(anyOrNullString(), anyOrNullString());
178 verify(mInjector, times(1)).injectWriteToFile("file1", "11");
184 verify(mInjector, times(1)).injectWriteToFile("file1", "111");
205 verify(mInjector, times(1)).injectWriteToFile("file1", "11");
206 verify(mInjector, times(1)).injectWriteToFile("file2", "22");
207 verify(mInjector, times(1)).injectWriteToFile("file3", "33");
213 verify(mInjector, times(1)).injectWriteToFile("file1", "111")
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
WifiDetailPreferenceControllerTest.java 29 import static org.mockito.Mockito.verify;
334 verify(mockSecurityPref).setDetailText(SECURITY);
341 verify(mockWifiManager, times(1)).getConnectionInfo();
348 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class));
355 verify(mockConnectivityManager, times(1)).registerNetworkCallback(
364 verify(mockConnectivityManager, times(1))
374 verify(mockHeaderController).setIcon(expectedIcon);
384 verify(mockHeaderController).setLabel(label);
394 verify(mockHeaderController).setSummary(summary);
401 verify(mockSignalStrengthPref).setIcon(any(Drawable.class))
    [all...]
  /packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/
DevicePrefFragmentTest.java 24 import static org.mockito.Mockito.verify;
79 verify(developerPref, atLeastOnce()).setVisible(false);
80 verify(developerPref, never()).setVisible(true);
93 verify(developerPref, atLeastOnce()).setVisible(false);
94 verify(developerPref, never()).setVisible(true);
105 verify(developerPref, atLeastOnce()).setVisible(true);
106 verify(developerPref, never()).setVisible(false);
134 verify(castPref, atLeastOnce()).setTitle("Test Name");
146 verify(autofillPref, atLeastOnce()).setTitle(R.string.system_keyboard);
147 verify(autofillPref, never()).setTitle(R.string.system_keyboard_autofill)
    [all...]
  /packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
CallLogBackupAgentTest.java 20 import static org.mockito.Mockito.verify;
122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
123 inOrder.verify(mDataOutput).writeInt(0 /* size */);
135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
136 inOrder.verify(mDataOutput).writeInt(1);
137 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */);
151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
152 inOrder.verify(mDataOutput).writeInt(3 /* size */);
153 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */);
154 inOrder.verify(mDataOutput).writeInt(102 /* call-ID */)
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
BitmapVerifier.java 30 public boolean verify(Bitmap bitmap) { method in class:BitmapVerifier
35 return verify(pixels, 0, width, width, height);
41 public abstract boolean verify(int[] bitmap, int offset, int stride, int width, int height); method in class:BitmapVerifier
  /external/guava/guava/src/com/google/common/base/
Verify.java 33 * Verify.verify(bill.status() == Status.UNPAID,
78 * format string, {@code Verify} will still behave as expected, and will still include all argument
91 public final class Verify {
96 public static void verify(boolean expression) { method in class:Verify
118 public static void verify( method in class:Verify
156 verify(reference != null, errorMessageTemplate, errorMessageArgs);
163 private Verify() {}

Completed in 2726 milliseconds

1 2 3 4 5 67 8 91011>>