Home
last modified time | relevance | path

Searched refs:getRequestCount (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwSettingsTest.java1219 assertEquals(0, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue()
1222 assertEquals(1, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue()
1225 assertEquals(0, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue()
1622 assertEquals(1, webServer.getRequestCount(httpPath)); in testUserAgentWithTestServer()
1905 assertEquals(0, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithHttpResources()
1914 assertEquals(1, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithHttpResources()
1969 assertEquals(0, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithAudio()
2113 assertEquals(1, webServer.getRequestCount(htmlPath)); in testCacheMode()
2115 assertEquals(1, webServer.getRequestCount(htmlPath)); in testCacheMode()
2119 assertEquals(2, webServer.getRequestCount(htmlPath)); in testCacheMode()
[all …]
DAwContentsClientShouldOverrideUrlLoadingTest.java503 assertEquals(1, mWebServer.getRequestCount(pageWithLinkToIgnorePath)); in testCanIgnoreLoading()
504 assertEquals(1, mWebServer.getRequestCount(synchronizationPath)); in testCanIgnoreLoading()
505 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testCanIgnoreLoading()
575 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testNotCalledForPostNavigations()
582 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testNotCalledForPostNavigations()
622 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testCalledFor302AfterPostNavigations()
650 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testNotCalledForIframeHttpNavigations()
657 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testNotCalledForIframeHttpNavigations()
DLoadUrlTest.java235 assertEquals(2, webServer.getRequestCount(path)); in testReloadWithExtraHeaders()
273 assertEquals(2, webServer.getRequestCount(path)); in testRedirectAndReloadWithExtraHeaders()
326 assertEquals(2, webServer.getRequestCount(path)); in testRendererNavigationAndGoBackWithExtraHeaders()
DAwContentsTest.java267 assertEquals(1, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk()
279 assertEquals(1, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk()
291 assertEquals(2, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk()
DAwContentsClientShouldInterceptRequestTest.java366 assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); in testCanInterceptMainFrame()
396 assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); in testNullInputStreamCausesErrorForMainFrame()
/external/apache-http/src/org/apache/http/
DHttpConnectionMetrics.java43 long getRequestCount(); in getRequestCount() method
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java206 assertEquals(1, cache.getRequestCount()); in responsesAreCached()
211 assertEquals(3, cache.getRequestCount()); in responsesAreCached()
224 assertEquals(1, cache.getRequestCount()); in conditionalCache()
228 assertEquals(2, cache.getRequestCount()); in conditionalCache()
/external/apache-http/src/org/apache/http/impl/
DHttpConnectionMetricsImpl.java84 public long getRequestCount() { in getRequestCount() method in HttpConnectionMetricsImpl
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DHttpResponseCacheTest.java323 assertEquals(2, cache.getRequestCount()); in testResponseCaching()
351 assertEquals(2, cache.getRequestCount()); in secureResponseCaching()
399 assertEquals(4, cache.getRequestCount()); // 2 requests + 2 redirects in responseCachingAndRedirects()
451 assertEquals(4, cache.getRequestCount()); // 2 direct + 2 redirect = 4 in secureResponseCachingAndRedirects()
487 assertEquals(4, cache.getRequestCount()); // 2 direct + 2 redirect = 4 in secureResponseCachingAndProtocolRedirects()
1275 assertEquals(1, cache.getRequestCount()); in statisticsConditionalCacheMiss()
1280 assertEquals(3, cache.getRequestCount()); in statisticsConditionalCacheMiss()
1294 assertEquals(1, cache.getRequestCount()); in statisticsConditionalCacheHit()
1299 assertEquals(3, cache.getRequestCount()); in statisticsConditionalCacheHit()
1309 assertEquals(1, cache.getRequestCount()); in statisticsFullCacheHit()
[all …]
DURLConnectionTest.java423 if (server.getRequestCount() == 3) { in testServerClosesOutput()
601 assertEquals(0, server.getRequestCount()); in connectViaHttpsToUntrustedServer()
975 assertEquals(1, server.getRequestCount()); in unauthorizedResponseHandling()
1735 assertEquals(1, server.getRequestCount()); in response305UseProxy()
1790 assertEquals(1, server.getRequestCount()); in test307Redirect()
1797 assertEquals(2, server.getRequestCount()); in test307Redirect()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java155 public int getRequestCount() { in getRequestCount() method in MockWebServer
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
DTestWebServer.java272 public int getRequestCount(String requestPath) { in getRequestCount() method in TestWebServer
/external/okhttp/src/main/java/com/squareup/okhttp/
DHttpResponseCache.java399 public synchronized int getRequestCount() { in getRequestCount() method in HttpResponseCache