New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support HttpEngine openConnection(URL) #8973
base: master
Are you sure you want to change the base?
Conversation
robolectric/src/test/java/org/robolectric/android/HttpEngineTest.java
Outdated
Show resolved
Hide resolved
179cd7b
to
766cf0a
Compare
@yschimke There are some CI checking, including code style, commit validation. You can find them by checking GitHub Actions configurations. |
943976c
to
9c67d17
Compare
This current version is platform agnostic. So I suggest this is a separate task. Also probably worth running the instrumentation tasks on a later Android emulator. |
I was considering adding a shadow API to set a different cronet provider that would work for grpc and http3. But I figured a follow up. |
cc @fridek |
d55ae62
to
4c5ce7e
Compare
integration_tests/ctesque/src/sharedTest/java/android/net/http/HttpEngineTest.java
Outdated
Show resolved
Hide resolved
integration_tests/ctesque/src/sharedTest/java/android/net/http/HttpEngineTest.java
Outdated
Show resolved
Hide resolved
Use the JavaCronetProvider from cronet-fallback. Implement just enough to support URLConnection.
@utzcoz anything I need to do on this, or just waiting for additional review? |
Overview
First attempt at #8956.
For discussion and advice on structure and tests.
Proposed Changes
Bridge to the JavaCronetProvider from cronet-fallback, that just uses URLConnection.