Home
last modified time | relevance | path

Searched refs:Http2TestServer (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
H A DBidirectionalStreamTest.java79 assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext())) in setUp()
85 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
132 String url = Http2TestServer.getEchoMethodUrl(); in runGetWithExpectedReceivedByteCount()
154 callback.getResponseInfoWithChecks(), Http2TestServer.getEchoMethodUrl(), 200, ""); in runGetWithExpectedReceivedByteCount()
187 Http2TestServer.getServerUrl(), in runBuilderCheckNativeImpl()
197 Http2TestServer.getServerUrl(), callback, null)); in runBuilderCheckNativeImpl()
203 Http2TestServer.getServerUrl(), callback, callback.getExecutor()); in runBuilderCheckNativeImpl()
220 Http2TestServer.getServerUrl(), callback, callback.getExecutor())); in runBuilderCheckJavaImpl()
249 String url = Http2TestServer.getEchoMethodUrl(); in testSimpleGet()
268 callback.getResponseInfoWithChecks(), Http2TestServer.getEchoMethodUrl(), 200, ""); in testSimpleGet()
[all …]
H A DNetworkErrorLoggingTest.java47 assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext())) in setUp()
53 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
59 String url = Http2TestServer.getReportingCollectorUrl(); in testManualReportUpload()
76 Http2TestServer.getReportingCollector().assertContainsReport("{\"type\": \"test_report\"}"); in testManualReportUpload()
89 String url = Http2TestServer.getSuccessWithNELHeadersUrl(); in testUploadNELReportsFromHeaders()
99 Http2TestServer.getReportingCollector().waitForReports(1); in testUploadNELReportsFromHeaders()
100 Http2TestServer.getReportingCollector() in testUploadNELReportsFromHeaders()
127 String serverOrigin = Http2TestServer.getServerUrl(); in testUploadNELReportsFromPreloadedPolicy()
128 String collectorUrl = Http2TestServer.getReportingCollectorUrl(); in testUploadNELReportsFromPreloadedPolicy()
164 String url = Http2TestServer.getEchoMethodUrl(); in testUploadNELReportsFromPreloadedPolicy()
[all …]
H A DPkpTest.java13 import static org.chromium.net.Http2TestServer.SERVER_CERT_PEM;
60 assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext())) in setUp()
66 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
81 Http2TestServer.getServerHost(), in testErrorCodeIfPinDoesNotMatch()
89 Http2TestServer.getServerUrl(), callback, callback.getExecutor()); in testErrorCodeIfPinDoesNotMatch()
111 Http2TestServer.getServerHost(), in testSuccessIfPinMatches()
119 Http2TestServer.getServerUrl(), callback, callback.getExecutor()); in testSuccessIfPinMatches()
225 Http2TestServer.getServerUrl(), callback, callback.getExecutor()); in testSuccessIfNoPinSpecified()
245 Http2TestServer.getServerHost(), in testSoonExpiringPin()
253 Http2TestServer.getServerUrl(), callback, callback.getExecutor()); in testSoonExpiringPin()
[all …]
H A DMockCertVerifierTest.java41 assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext())) in setUp()
47 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
54 String url = Http2TestServer.getEchoAllHeadersUrl(); in testRequest_failsWithoutMockVerifierBeforeNougat()
72 String url = Http2TestServer.getEchoAllHeadersUrl(); in testRequest_passesWithMockVerifierBeforeNougat()
81 String url = Http2TestServer.getEchoAllHeadersUrl(); in testRequest_passesWithoutMockVerifierAfterMarshmallow()
H A DBrotliTest.java53 assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext())) in setUp()
59 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
73 String url = Http2TestServer.getEchoAllHeadersUrl(); in testBrotliAdvertised()
83 String url = Http2TestServer.getEchoAllHeadersUrl(); in testBrotliNotAdvertised()
100 String url = Http2TestServer.getServeSimpleBrotliResponse(); in testBrotliDecoded()
H A DExperimentalOptionsTest.java84 Http2TestServer.startHttp2TestServer( in setUp()
92 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
116 String url = Http2TestServer.getEchoMethodUrl(); in testNetLog()
134 String url = Http2TestServer.getEchoMethodUrl(); in testSetSSLKeyLogFile()
291 String url = Http2TestServer.getEchoMethodUrl(); in testDetectBrokenConnection()
324 String hangingUrl = Http2TestServer.getHangingRequestUrl(); in testDetectBrokenConnectionOnNetworkFailure()
H A DNetworkChangesTest.java190 Http2TestServer.startHttp2TestServer( in setUp()
245 assertThat(Http2TestServer.shutdownHttp2TestServer()).isTrue(); in tearDown()
307 String url = Http2TestServer.getHangingRequestUrl(); in testDefaultNetworkChange_spdyCloseSessionsOnIpChange_failsWithErrNetChanged()
/aosp_15_r20/external/cronet/components/cronet/android/test/smoketests/src/org/chromium/net/smoke/
H A DChromiumNativeTestSupport.java25 return new Http2TestServer(context); in createTestServer()
78 private static class Http2TestServer implements TestServer { class in ChromiumNativeTestSupport
81 Http2TestServer(Context context) { in Http2TestServer() method in ChromiumNativeTestSupport.Http2TestServer
88 return org.chromium.net.Http2TestServer.startHttp2TestServer(mContext); in start()
98 org.chromium.net.Http2TestServer.shutdownHttp2TestServer(); in shutdown()
106 return org.chromium.net.Http2TestServer.getEchoMethodUrl(); in getSuccessURL()
/aosp_15_r20/external/cronet/components/cronet/android/test/src/org/chromium/net/
H A DHttp2TestServer.java42 public final class Http2TestServer { class
44 private static final String TAG = Http2TestServer.class.getSimpleName();
179 private Http2TestServer() {} in Http2TestServer() method in Http2TestServer
/aosp_15_r20/external/cronet/android/tests/common/
H A Djarjar_excludes.txt28 org\.chromium\.net\.Http2TestServer(\$.+)?
/aosp_15_r20/external/cronet/components/cronet/android/
H A DBUILD.gn1153 "test/src/org/chromium/net/Http2TestServer.java",
H A DAndroid.bp2571 "test/src/org/chromium/net/Http2TestServer.java",
/aosp_15_r20/external/cronet/android/tools/gn2bp/
H A DAndroid.bp.swp13382 "components/cronet/android/test/src/org/chromium/net/Http2TestServer.java",
/aosp_15_r20/out/soong/
Dbuild.aosp_shiba.4.ninja955616 external/cronet/components/cronet/android/test/src/org/chromium/net/Http2TestServer.java $
955733 external/cronet/components/cronet/android/test/src/org/chromium/net/Http2TestServer.java $
955906 external/cronet/components/cronet/android/test/src/org/chromium/net/Http2TestServer.java $