The Robolectric implementation of HttpURLConnection forwards to the JRE implementation [1], which behaves differently to the Android one available on devices and emulators. For these tests to be a realistic test of the HTTP stack used in real playbacks we can't use Robolectric. Similar to https://github.com/google/ExoPlayer/commit/df0e89c1678ff0dda00bb187be05b8198bd31567 [1] https://github.com/robolectric/robolectric/issues/6769#issuecomment-943556156 PiperOrigin-RevId: 416013662
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| ContentDataSourceContractTest.java | Loading commit data... | |
| ContentDataSourceTest.java | Loading commit data... | |
| DefaultHttpDataSourceContractTest.java | Loading commit data... | |
| DefaultHttpDataSourceTest.java | Loading commit data... | |
| RawResourceDataSourceContractTest.java | Loading commit data... |