Home
last modified time | relevance | path

Searched refs:getCallCount (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwWebContentsObserverTest.java49 int callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
52 mContentsClient.getOnPageFinishedHelper().getCallCount()); in testOnPageFinished()
54 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
57 mContentsClient.getOnPageFinishedHelper().getCallCount()); in testOnPageFinished()
59 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
62 mContentsClient.getOnPageFinishedHelper().getCallCount()); in testOnPageFinished()
66 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
70 mContentsClient.getOnPageFinishedHelper().getCallCount()); in testOnPageFinished()
72 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
76 mContentsClient.getOnPageFinishedHelper().getCallCount()); in testOnPageFinished()
[all …]
DTestAwContentsClient.java116 assert getCallCount() > 0; in getLastScaleRatio()
174 assert getCallCount() > 0; in getUrl()
179 assert getCallCount() > 0; in getUserAgent()
184 assert getCallCount() > 0; in getContentDisposition()
189 assert getCallCount() > 0; in getMimeType()
194 assert getCallCount() > 0; in getContentLength()
228 assert getCallCount() > 0; in getRealm()
233 assert getCallCount() > 0; in getAccount()
238 assert getCallCount() > 0; in getArgs()
272 assert getCallCount() > 0; in getLevel()
[all …]
DClientOnPageFinishedTest.java44 int currentCallCount = onPageFinishedHelper.getCallCount(); in testOnPageFinishedPassesCorrectUrl()
137 final int currentOnPageFinishedCallCount = onPageFinishedHelper.getCallCount(); in testOnPageFinishedCalledAfterRedirectedUrlIsOverridden()
165 assertEquals(0, onPageFinishedHelper.getCallCount()); in testOnPageFinishedNotCalledForValidSubresources()
166 final int pageWithSubresourcesCallCount = onPageFinishedHelper.getCallCount(); in testOnPageFinishedNotCalledForValidSubresources()
178 final int synchronizationPageCallCount = onPageFinishedHelper.getCallCount(); in testOnPageFinishedNotCalledForValidSubresources()
183 assertEquals(2, onPageFinishedHelper.getCallCount()); in testOnPageFinishedNotCalledForValidSubresources()
210 assertEquals(0, onPageFinishedHelper.getCallCount()); in testOnPageFinishedNotCalledForHistoryApi()
220 final int synchronizationPageCallCount = onPageFinishedHelper.getCallCount(); in testOnPageFinishedNotCalledForHistoryApi()
225 assertEquals(2, onPageFinishedHelper.getCallCount()); in testOnPageFinishedNotCalledForHistoryApi()
267 int onPageFinishedCallCount = onPageFinishedHelper.getCallCount(); in doTestOnPageFinishedCalledForHrefNavigations()
[all …]
DAwContentsClientShouldOverrideUrlLoadingTest.java129 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnLoadUrl()
135 final int callCount = onPageFinishedHelper.getCallCount(); in waitForNavigationRunnableAndAssertTitleChanged()
158 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnBackForwardNavigation()
167 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnBackForwardNavigation()
176 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnBackForwardNavigation()
185 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnBackForwardNavigation()
194 assertEquals(0, shouldOverrideUrlLoadingHelper.getCallCount()); in testNotCalledOnBackForwardNavigation()
230 final int shouldOverrideUrlLoadingCallCount = shouldOverrideUrlLoadingHelper.getCallCount(); in testCalledBeforeOnPageStarted()
231 final int onPageStartedCallCount = onPageStartedHelper.getCallCount(); in testCalledBeforeOnPageStarted()
236 assertEquals(onPageStartedCallCount, onPageStartedHelper.getCallCount()); in testCalledBeforeOnPageStarted()
[all …]
DAwContentsClientShouldInterceptRequestTest.java59 assert getCallCount() > 0; in getUrls()
68 assert getCallCount() > 0; in getParamsForUrl()
83 assert getCallCount() > 0; in getUrl()
176 int onPageFinishedCallCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testCalledWithCorrectUrlParam()
178 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectUrlParam()
197 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectIsMainFrameParam()
215 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectMethodParam()
221 callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectMethodParam()
237 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectHasUserGestureParam()
260 callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectHasUserGestureParam()
[all …]
DAwContentsClientCallbackHelperTest.java34 assert getCallCount() > 0; in getLastLoadedResource()
99 int onLoadResourceCount = loadResourceHelper.getCallCount(); in testOnLoadResource()
110 int onPageStartedCount = pageStartedHelper.getCallCount(); in testOnPageStarted()
121 int onDownloadStartCount = downloadStartHelper.getCallCount(); in testOnDownloadStart()
149 final int onNewPictureCount = pictureListenerHelper.getCallCount(); in testOnNewPicture()
179 assertEquals(onNewPictureCount + 1, pictureListenerHelper.getCallCount()); in testOnNewPicture()
188 int onReceivedLoginRequestCount = receivedLoginRequestHelper.getCallCount(); in testOnReceivedLoginRequest()
202 int onReceivedErrorCount = receivedErrorHelper.getCallCount(); in testOnReceivedError()
216 int onScaleChangeCount = scaleChangedHelper.getCallCount(); in testOnScaleChangedScaled()
DClientOnReceivedErrorTest.java41 int onReceivedErrorCallCount = onReceivedErrorHelper.getCallCount(); in testOnReceivedErrorOnInvalidUrl()
61 int onReceivedErrorCallCount = onReceivedErrorHelper.getCallCount(); in testOnReceivedErrorOnInvalidScheme()
79 int currentCallCount = onPageFinishedHelper.getCallCount(); in testNoErrorOnFailedSubresourceLoad()
86 assertEquals(0, onReceivedErrorHelper.getCallCount()); in testNoErrorOnFailedSubresourceLoad()
95 int onReceivedErrorCallCount = onReceivedErrorHelper.getCallCount(); in testNonExistentAssetUrl()
111 int onReceivedErrorCallCount = onReceivedErrorHelper.getCallCount(); in testNonExistentResourceUrl()
127 int onReceivedErrorCallCount = onReceivedErrorHelper.getCallCount(); in testCacheMiss()
DAndroidViewIntegrationTest.java33 assert getCallCount() > 0; in getWidth()
38 assert getCallCount() > 0; in getHeight()
149 final int contentSizeChangeCallCount = mOnContentSizeChangedHelper.getCallCount();
150 final int pageScaleChangeCallCount = mOnPageScaleChangedHelper.getCallCount();
171 final int contentSizeChangeCallCount = mOnContentSizeChangedHelper.getCallCount();
172 final int pageScaleChangeCallCount = mOnPageScaleChangedHelper.getCallCount();
197 final int contentSizeChangeCallCount = mOnContentSizeChangedHelper.getCallCount();
198 final int pageScaleChangeCallCount = mOnPageScaleChangedHelper.getCallCount();
244 final int contentSizeChangeCallCount = helper.getCallCount();
295 final int contentSizeChangeCallCount = mOnContentSizeChangedHelper.getCallCount();
[all …]
DClientAddMessageToConsoleTest.java66 int callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel()
74 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel()
82 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel()
100 int callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectMessage()
108 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectMessage()
122 int callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLineAndSource()
DAndroidScrollIntegrationTest.java37 assert getCallCount() > 0; in getDeltaX()
42 assert getCallCount() > 0; in getDeltaY()
47 assert getCallCount() > 0; in getScrollRangeY()
326 final int scrollToCallCount = onScrollToCallbackHelper.getCallCount();
356 final int scrollToCallCount = onScrollToCallbackHelper.getCallCount();
391 final int scrollToCallCount = onScrollToCallbackHelper.getCallCount();
430 final int scrollToCallCount = onScrollToCallbackHelper.getCallCount();
465 final int scrollToCallCount = onScrollToCallbackHelper.getCallCount();
477 assertEquals(scrollToCallCount + 1, onScrollToCallbackHelper.getCallCount());
497 final int overScrollCallCount = overScrollByCallbackHelper.getCallCount();
[all …]
DAwContentsClientVisitedHistoryTest.java25 assert getCallCount() > 0; in getCallback()
78 int callCount = doUpdateVisitedHistoryHelper.getCallCount(); in testUpdateVisitedHistoryCallback()
85 callCount = doUpdateVisitedHistoryHelper.getCallCount(); in testUpdateVisitedHistoryCallback()
103 final int callCount = visitedHistoryHelper.getCallCount(); in testGetVisitedHistoryExerciseCodePath()
136 final int callCount = visitedHistoryHelper.getCallCount(); in testGetVisitedHistoryCallbackAfterDestroy()
DExternalVideoSurfaceContainerTest.java107 int onRequestCallCount = mOnRequestExternalVideoSurface.getCallCount();
108 int onPositionChangedCallCount = mOnExternalVideoSurfacePositionChanged.getCallCount();
124 assertEquals(0, mOnRequestExternalVideoSurface.getCallCount());
125 assertEquals(0, mOnExternalVideoSurfacePositionChanged.getCallCount());
DAwContentsTest.java386 final int callCount = downloadStartHelper.getCallCount(); in testDownload()
465 int currentCallCount = onPageFinishedHelper.getCallCount(); in testEscapingOfErrorPage()
528 int onSslErrorCallCount = onReceivedSslErrorHelper.getCallCount(); in testSslPreferences()
532 assertEquals(onSslErrorCallCount + 1, onReceivedSslErrorHelper.getCallCount()); in testSslPreferences()
537 onSslErrorCallCount = onReceivedSslErrorHelper.getCallCount(); in testSslPreferences()
539 assertEquals(onSslErrorCallCount, onReceivedSslErrorHelper.getCallCount()); in testSslPreferences()
544 onSslErrorCallCount = onReceivedSslErrorHelper.getCallCount(); in testSslPreferences()
546 assertEquals(onSslErrorCallCount + 1, onReceivedSslErrorHelper.getCallCount()); in testSslPreferences()
551 onSslErrorCallCount = onReceivedSslErrorHelper.getCallCount(); in testSslPreferences()
553 assertEquals(onSslErrorCallCount + 1, onReceivedSslErrorHelper.getCallCount()); in testSslPreferences()
[all …]
DMediaAccessPermissionRequestTest.java89 int callCount = helper.getCallCount(); in testGrantAccess()
111 int callCount = helper.getCallCount(); in testDenyAccess()
153 int callCount = helper.getCallCount(); in testCancelPermission()
156 callCount = helper.getCallCount(); in testCancelPermission()
DAwTestBase.java115 int currentCallCount = onPageFinishedHelper.getCallCount(); in loadUrlSync()
125 int onErrorCallCount = onReceivedErrorHelper.getCallCount(); in loadUrlSyncAndExpectError()
126 int onFinishedCallCount = onPageFinishedHelper.getCallCount(); in loadUrlSyncAndExpectError()
161 int currentCallCount = onPageFinishedHelper.getCallCount(); in postUrlSync()
193 int currentCallCount = onPageFinishedHelper.getCallCount(); in loadDataSync()
204 int currentCallCount = onPageFinishedHelper.getCallCount(); in loadDataSyncWithCharset()
235 int currentCallCount = onPageFinishedHelper.getCallCount(); in loadDataWithBaseUrlSync()
258 int currentCallCount = onPageFinishedHelper.getCallCount(); in reloadSync()
DAwQuotaManagerBridgeTest.java89 assert getCallCount() > 0; in getValue()
99 int callCount = callbackHelper.getCallCount(); in getQuotaForOrigin()
123 int callCount = callbackHelper.getCallCount(); in getUsageForOrigin()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DTestCallbackHelperContainer.java52 assert getCallCount() > 0; in getUrl()
67 assert getCallCount() > 0; in getUrl()
86 assert getCallCount() > 0; in getErrorCode()
90 assert getCallCount() > 0; in getDescription()
94 assert getCallCount() > 0; in getFailingUrl()
188 assert getCallCount() > 0;
DHistoryUtils.java133 int currentCallCount = onPageFinishedHelper.getCallCount();
156 int currentCallCount = onPageFinishedHelper.getCallCount();
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DAwQuotaManagerBridgeTestUtil.java39 assert getCallCount() > 0;
49 int callCount = callbackHelper.getCallCount();
DCookieUtils.java34 assert getCallCount() > 0; in getValue()
73 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in clearCookies()
/external/easymock/src/org/easymock/internal/
DResults.java63 return getMainInterval().contains(getCallCount()); in hasValidCallCount()
86 public int getCallCount() { in getCallCount() method in Results
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DContentDetectionTestBase.java68 int currentCallCount = onStartContentIntentHelper.getCallCount(); in scrollAndTapExpectingIntent()
89 int currentCallCount = onPageFinishedHelper.getCallCount(); in scrollAndTapNavigatingOut()
DGestureDetectorResetTest.java110 int currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload()
124 currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload()
DJavaBridgeBasicsTest.java120 int currentCallCount = onPageFinishedHelper.getCallCount(); in injectObjectAndReload()
135 int currentCallCount = onPageFinishedHelper.getCallCount(); in synchronousPageReload()
211 int currentCallCount = onPageFinishedHelper.getCallCount(); in testRemoveObjectNotAdded()
370 int currentCallCount = onPageFinishedHelper.getCallCount(); in testSameObjectInjectedMultipleTimes()
417 int currentCallCount = onPageFinishedHelper.getCallCount(); in testReturnedObjectInjectedElsewhere()
830 int currentCallCount = onPageFinishedHelper.getCallCount(); in testAddJavascriptInterfaceIsSafeByDefault()
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/
DContextMenuUtils.java40 assert getCallCount() > 0; in getContextMenu()
64 int callCount = helper.getCallCount(); in openContextMenu()

123