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
@ -100,7 +100,8 @@ public final class CronetDataSourceTest {
|
|||||||
Executor executor, int priority,
|
Executor executor, int priority,
|
||||||
Collection<Object> connectionAnnotations,
|
Collection<Object> connectionAnnotations,
|
||||||
boolean disableCache,
|
boolean disableCache,
|
||||||
boolean disableConnectionMigration);
|
boolean disableConnectionMigration,
|
||||||
|
boolean allowDirectExecutor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Mock
|
@Mock
|
||||||
@ -143,6 +144,7 @@ public final class CronetDataSourceTest {
|
|||||||
anyInt(),
|
anyInt(),
|
||||||
eq(Collections.emptyList()),
|
eq(Collections.emptyList()),
|
||||||
any(Boolean.class),
|
any(Boolean.class),
|
||||||
|
any(Boolean.class),
|
||||||
any(Boolean.class))).thenReturn(mockUrlRequest);
|
any(Boolean.class))).thenReturn(mockUrlRequest);
|
||||||
mockStatusResponse();
|
mockStatusResponse();
|
||||||
|
|
||||||
@ -194,6 +196,7 @@ public final class CronetDataSourceTest {
|
|||||||
anyInt(),
|
anyInt(),
|
||||||
eq(Collections.emptyList()),
|
eq(Collections.emptyList()),
|
||||||
any(Boolean.class),
|
any(Boolean.class),
|
||||||
|
any(Boolean.class),
|
||||||
any(Boolean.class))).thenReturn(mockUrlRequest2);
|
any(Boolean.class))).thenReturn(mockUrlRequest2);
|
||||||
doAnswer(new Answer<Object>() {
|
doAnswer(new Answer<Object>() {
|
||||||
@Override
|
@Override
|
||||||
@ -224,6 +227,7 @@ public final class CronetDataSourceTest {
|
|||||||
anyInt(),
|
anyInt(),
|
||||||
eq(Collections.emptyList()),
|
eq(Collections.emptyList()),
|
||||||
any(Boolean.class),
|
any(Boolean.class),
|
||||||
|
any(Boolean.class),
|
||||||
any(Boolean.class));
|
any(Boolean.class));
|
||||||
verify(mockUrlRequest).start();
|
verify(mockUrlRequest).start();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user