/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | AwWebContentsObserverTest.java | 49 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 …]
|
D | TestAwContentsClient.java | 116 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 …]
|
D | ClientOnPageFinishedTest.java | 44 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 …]
|
D | AwContentsClientShouldOverrideUrlLoadingTest.java | 129 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 …]
|
D | AwContentsClientShouldInterceptRequestTest.java | 59 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 …]
|
D | AwContentsClientCallbackHelperTest.java | 34 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()
|
D | ClientOnReceivedErrorTest.java | 41 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()
|
D | AndroidViewIntegrationTest.java | 33 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 …]
|
D | ClientAddMessageToConsoleTest.java | 66 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()
|
D | AndroidScrollIntegrationTest.java | 37 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 …]
|
D | AwContentsClientVisitedHistoryTest.java | 25 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()
|
D | ExternalVideoSurfaceContainerTest.java | 107 int onRequestCallCount = mOnRequestExternalVideoSurface.getCallCount(); 108 int onPositionChangedCallCount = mOnExternalVideoSurfacePositionChanged.getCallCount(); 124 assertEquals(0, mOnRequestExternalVideoSurface.getCallCount()); 125 assertEquals(0, mOnExternalVideoSurfacePositionChanged.getCallCount());
|
D | AwContentsTest.java | 386 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 …]
|
D | MediaAccessPermissionRequestTest.java | 89 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()
|
D | AwTestBase.java | 115 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()
|
D | AwQuotaManagerBridgeTest.java | 89 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/ |
D | TestCallbackHelperContainer.java | 52 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;
|
D | HistoryUtils.java | 133 int currentCallCount = onPageFinishedHelper.getCallCount(); 156 int currentCallCount = onPageFinishedHelper.getCallCount();
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
D | AwQuotaManagerBridgeTestUtil.java | 39 assert getCallCount() > 0; 49 int callCount = callbackHelper.getCallCount();
|
D | CookieUtils.java | 34 assert getCallCount() > 0; in getValue() 73 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in clearCookies()
|
/external/easymock/src/org/easymock/internal/ |
D | Results.java | 63 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/ |
D | ContentDetectionTestBase.java | 68 int currentCallCount = onStartContentIntentHelper.getCallCount(); in scrollAndTapExpectingIntent() 89 int currentCallCount = onPageFinishedHelper.getCallCount(); in scrollAndTapNavigatingOut()
|
D | GestureDetectorResetTest.java | 110 int currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload() 124 currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload()
|
D | JavaBridgeBasicsTest.java | 120 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/ |
D | ContextMenuUtils.java | 40 assert getCallCount() > 0; in getContextMenu() 64 int callCount = helper.getCallCount(); in openContextMenu()
|