/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ImageReaderTest.java | 98 verify(mImage1, never()).close(); in testGetLatestImage1() 109 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage2() 110 verify(mImage2, never()).close(); in testGetLatestImage2() 123 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage3() 124 verify(mImage2, atLeastOnce()).close(); in testGetLatestImage3() 125 verify(mImage3, never()).close(); in testGetLatestImage3() 156 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 157 verify(mImage2, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 158 verify(mImage3, atLeastOnce()).close(); in testGetLatestImageExceptionalError() 177 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalRuntime() [all …]
|
D | MediaInserterTest.java | 145 EasyMock.verify(mMockProvider); in testInsertContentsLessThanBufferSize() 160 EasyMock.verify(mMockProvider); in testInsertContentsEqualToBufferSize() 175 EasyMock.verify(mMockProvider); in testInsertContentsMoreThanBufferSize() 184 EasyMock.verify(mMockProvider); in testFlushAllWithEmptyContents() 200 EasyMock.verify(mMockProvider); in testFlushAllWithSomeContents() 221 EasyMock.verify(mMockProvider); in testInsertContentsAfterFlushAll() 251 EasyMock.verify(mMockProvider); in testInsertContentsWithDifferentSizePerContentType()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifier.java | 46 public void verify(int resId, int vcardType) throws IOException, VCardException { in verify() method in PropertyNodesVerifier 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); in verify() 50 public void verify(int resId, int vcardType, final VCardParser parser) in verify() method in PropertyNodesVerifier 52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), in verify() 56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { in verify() method in PropertyNodesVerifier 58 verify(is, vcardType, parser); in verify() 61 public void verify(InputStream is, int vcardType, final VCardParser parser) in verify() method in PropertyNodesVerifier 84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());
|
D | LineVerifier.java | 42 public void verify(String vcard) { in verify() method in LineVerifier 48 lineVerifier.verify(vcard); in verify()
|
D | ImportTestResolver.java | 45 public void verify() { in verify() method in ImportTestResolver 46 mProvider.verify(); in verify()
|
D | ContentValuesVerifierElem.java | 43 mResolver.verify(); in verifyResolver()
|
/frameworks/testing/support/tests/src/android/support/test/runner/ |
D | AndroidJUnitRunnerTest.java | 87 Mockito.verify(mMockBuilder).addTestClass("ClassName"); in testBuildRequest_singleClass() 99 Mockito.verify(mMockBuilder).addTestClass("ClassName1"); in testBuildRequest_multiClass() 100 Mockito.verify(mMockBuilder).addTestClass("ClassName2"); in testBuildRequest_multiClass() 112 Mockito.verify(mMockBuilder).addTestMethod("ClassName1", "method"); in testBuildRequest_method() 124 Mockito.verify(mMockBuilder).addTestMethod("ClassName1", "method"); in testBuildRequest_classAndMethodCombo() 125 Mockito.verify(mMockBuilder).addTestClass("ClassName2"); in testBuildRequest_classAndMethodCombo() 150 Mockito.verify(mMockBuilder).addTestMethod("ClassName1", "method1"); in testBuildRequest_testFile() 151 Mockito.verify(mMockBuilder).addTestClass("ClassName2"); in testBuildRequest_testFile() 152 Mockito.verify(mMockBuilder).addTestClass("ClassName3"); in testBuildRequest_testFile() 153 Mockito.verify(mMockBuilder).addTestMethod("ClassName4", "method2"); in testBuildRequest_testFile()
|
D | AndroidJUnitRunnerLifeCycleTest.java | 117 order.verify(mSpiedActivity).onStart(); in testOnStartStopCalled() 118 order.verify(mCallback).onActivityLifecycleChanged(mSpiedActivity, Stage.STARTED); in testOnStartStopCalled() 119 order.verify(mSpiedActivity).onStop(); in testOnStartStopCalled() 120 order.verify(mCallback).onActivityLifecycleChanged(mSpiedActivity, Stage.STOPPED); in testOnStartStopCalled() 132 order.verify(mSpiedActivity).onCreate(b); in testOnCreateCalled() 133 order.verify(mCallback).onActivityLifecycleChanged(mSpiedActivity, Stage.CREATED); in testOnCreateCalled() 144 order.verify(mSpiedActivity).onResume(); in testOnResumeCalled() 145 order.verify(mCallback).onActivityLifecycleChanged(mSpiedActivity, Stage.RESUMED); in testOnResumeCalled() 156 order.verify(mSpiedActivity).onPause(); in testOnPauseCalled() 157 order.verify(mCallback).onActivityLifecycleChanged(mSpiedActivity, Stage.PAUSED); in testOnPauseCalled() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ListRow.java | 33 verify(); in ListRow() 39 verify(); in ListRow() 45 verify(); in ListRow() 48 private void verify() { in verify() method in ListRow
|
D | DetailsOverviewRow.java | 45 verify(); in DetailsOverviewRow() 137 private void verify() { in verify() method in DetailsOverviewRow
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/ |
D | ViewInteractionTest.java | 25 import static org.mockito.Mockito.verify; 117 verify(mockAction).perform(mockUiController, targetView); in testPerformPropagatesException() 134 verify(mockAssertion).check(targetView, null); in testCheckPropagatesException() 145 verify(mockAction).perform(mockUiController, firstView); in testPerformTwiceUpdatesPreviouslyMatched() 149 verify(mockAction).perform(mockUiController, secondView); in testPerformTwiceUpdatesPreviouslyMatched() 152 verify(mockAssertion).check(secondView, null); in testPerformTwiceUpdatesPreviouslyMatched() 160 verify(mockAction).perform(mockUiController, targetView); in testPerformAndCheck() 163 verify(mockAssertion).check(targetView, null); in testPerformAndCheck() 170 verify(mockAssertion).check(targetView, null); in testCheck() 198 verify(mockAssertion).check(null, noViewException); in testCheck_ViewCannotBeFound()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | RequestFocusTest.java | 143 inOrder.verify(mock).onFocusChange(clearingFocusButton, false); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 144 inOrder.verify(mock).onGlobalFocusChanged(clearingFocusButton, gainingFocusButton); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 145 inOrder.verify(mock).onFocusChange(gainingFocusButton, true); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 186 inOrder.verify(mock).onFocusChange(clearingFocusButton, false); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() 187 inOrder.verify(mock).onGlobalFocusChanged(clearingFocusButton, gainingFocusButton); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() 188 inOrder.verify(mock).onFocusChange(gainingFocusButton, true); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/contrib/ |
D | CountingIdlingResourceTest.java | 20 import static org.mockito.Mockito.verify; 73 verify(mockCallback, never()).onTransitionToIdle(); in testIdleNotification() 76 verify(mockCallback, never()).onTransitionToIdle(); in testIdleNotification() 80 verify(mockCallback).onTransitionToIdle(); in testIdleNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerTest.java | 24 import static org.easymock.EasyMock.verify; 90 verify(mockServiceInterface); in testGetAccessibilityServiceList() 109 verify(mockServiceInterface); in testInterrupt() 143 verify(mockServiceInterface); in testIsEnabled() 181 verify(mockServiceInterface); in testSendAccessibilityEvent_AccessibilityEnabled() 207 verify(mockServiceInterface); in testSendAccessibilityEvent_AccessibilityDisabled()
|
D | NetworkManagementServiceTest.java | 32 import static org.mockito.Mockito.verify; 82 return verify(mock, timeout(100)); in expectSoon()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardTestUtilsTests.java | 45 verifier.verify(); in testShouldFailAtPropertyNodeVerification() 66 verifier.verify(); in testShouldFailAtContentValueVerification() 89 verifier.verify(); in testShouldFailAtLineVerification()
|
D | VCardParserTests.java | 62 public void verify() { in verify() method in VCardParserTests.MockVCardInterpreter 105 interpreter.verify(); in testSimple() 133 interpreter.verify(); in testNest() 165 interpreter.verify(); in testIosMultiline() 214 interpreter.verify(); in testParseOne() 236 interpreter.verify(); in testParseOne()
|
/frameworks/testing/support/tests/src/android/support/test/internal/runner/lifecycle/ |
D | ActivityLifecycleMonitorImplTest.java | 24 import static org.mockito.Mockito.verify; 65 verify(callback).onActivityLifecycleChanged(mMockActivity, Stage.CREATED); in testAddRemoveListener() 66 verify(callback).onActivityLifecycleChanged(mMockActivity, Stage.STARTED); in testAddRemoveListener() 67 verify(callback, never()).onActivityLifecycleChanged(mMockActivity, Stage.DESTROYED); in testAddRemoveListener()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 78 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable( in testSetLanguage_delegation() 80 LittleMock.verify(delegate, LittleMock.times(1)).onLoadLanguage( in testSetLanguage_delegation() 101 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testSetLanguage_availableLanguage() 124 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req2.capture(), in testSetLanguage_unavailableLanguage() 143 LittleMock.verify(delegate, LittleMock.times(1)).onIsLanguageAvailable( in testIsLanguageAvailable() 160 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testDefaultLanguage_setsVoiceName()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 385 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onResultReceived( in testCaptureResultCallbacks() 389 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureResultCallbacks() 403 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onCaptureStarted( in testCaptureStartedCallbacks() 408 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureStartedCallbacks() 435 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(1)).onDeviceIdle(); in testIdleCallback() 445 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(2)).onDeviceIdle(); in testIdleCallback() 475 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_MS).times(1)).onDeviceIdle(); in testFlush() 487 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_MS).times(2)).onDeviceIdle(); in testFlush()
|
/frameworks/base/docs/html/training/activity-testing/ |
D | index.jd | 38 write test cases to verify specific behavior in your application, and check for 55 <dd>Learn how to write test cases to verify the 64 verify the behavior of an Activity in isolation.</dd> 67 verify the interaction of multiple Activities.</dd>
|
D | activity-unit-testing.jd | 26 verify the state of an {@link android.app.Activity} and its interactions with 37 <p>This lesson shows how you can write a unit test to verify that an 95 <p>To verify if an {@link android.content.Intent} was triggered 98 By using assertion methods, you can verify that the returned
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
D | EffectsVideoCapture.java | 74 verify(getActivity(), uri); in testBackEffectsVideoCapture() 78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { in verify() method in EffectsVideoCapture
|
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2UtilsTest.java | 24 import static org.mockito.Mockito.verify; 40 verify(each).onCaptureCompleted(null, null, null); in captureListenerSplitterAllCallbacksReceived() 44 verify(each).onCaptureFailed(null, null, null); in captureListenerSplitterAllCallbacksReceived() 48 verify(each).onCaptureProgressed(null, null, null); in captureListenerSplitterAllCallbacksReceived() 52 verify(each).onCaptureSequenceAborted(null, 0); in captureListenerSplitterAllCallbacksReceived() 56 verify(each).onCaptureSequenceCompleted(null, 0, 0L); in captureListenerSplitterAllCallbacksReceived() 60 verify(each).onCaptureStarted(null, null, 0L, 1L); in captureListenerSplitterAllCallbacksReceived()
|
/frameworks/compile/slang/lit-tests/ |
D | README | 6 used to verify certain strings are present in the output bitcode files. 27 write tests that verify the emitted Java code.
|