mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
Switch to Cronet 55_0_2860_0
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133850026
This commit is contained in:
parent
59ee4341c5
commit
e20d7034c7
1 changed files with 5 additions and 1 deletions
|
|
@ -100,7 +100,8 @@ public final class CronetDataSourceTest {
|
|||
Executor executor, int priority,
|
||||
Collection<Object> connectionAnnotations,
|
||||
boolean disableCache,
|
||||
boolean disableConnectionMigration);
|
||||
boolean disableConnectionMigration,
|
||||
boolean allowDirectExecutor);
|
||||
}
|
||||
|
||||
@Mock
|
||||
|
|
@ -143,6 +144,7 @@ public final class CronetDataSourceTest {
|
|||
anyInt(),
|
||||
eq(Collections.emptyList()),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class))).thenReturn(mockUrlRequest);
|
||||
mockStatusResponse();
|
||||
|
||||
|
|
@ -194,6 +196,7 @@ public final class CronetDataSourceTest {
|
|||
anyInt(),
|
||||
eq(Collections.emptyList()),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class))).thenReturn(mockUrlRequest2);
|
||||
doAnswer(new Answer<Object>() {
|
||||
@Override
|
||||
|
|
@ -224,6 +227,7 @@ public final class CronetDataSourceTest {
|
|||
anyInt(),
|
||||
eq(Collections.emptyList()),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class),
|
||||
any(Boolean.class));
|
||||
verify(mockUrlRequest).start();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue