mirror of https://github.com/grpc/grpc-java.git
Run binderchannel android tests. (#8306)
This commit is contained in:
parent
eb802cf6b1
commit
5e18ff208a
|
|
@ -325,11 +325,6 @@ public final class BinderClientTransportTest {
|
||||||
this.headers = headers;
|
this.headers = headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void closed(Status status, Metadata trailers) {
|
|
||||||
this.closedStatus = status;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) {
|
public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) {
|
||||||
this.closedStatus = status;
|
this.closedStatus = status;
|
||||||
|
|
|
||||||
|
|
@ -38,3 +38,18 @@ gcloud firebase test android run \
|
||||||
--device model=Nexus6P,version=23,locale=en,orientation=portrait \
|
--device model=Nexus6P,version=23,locale=en,orientation=portrait \
|
||||||
--device model=Nexus6,version=22,locale=en,orientation=portrait \
|
--device model=Nexus6,version=22,locale=en,orientation=portrait \
|
||||||
--device model=Nexus6,version=21,locale=en,orientation=portrait
|
--device model=Nexus6,version=21,locale=en,orientation=portrait
|
||||||
|
|
||||||
|
# Build and run binder transport instrumentation tests on Firebase Test Lab
|
||||||
|
cd ../binder
|
||||||
|
../gradlew assembleDebug
|
||||||
|
../gradlew assembleDebugAndroidTest
|
||||||
|
gcloud firebase test android run \
|
||||||
|
--type instrumentation \
|
||||||
|
--test build/outputs/apk/androidTest/debug/grpc-binder-debug-androidTest.apk \
|
||||||
|
--device model=Nexus6P,version=27,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6P,version=26,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6P,version=25,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6P,version=24,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6P,version=23,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6,version=22,locale=en,orientation=portrait \
|
||||||
|
--device model=Nexus6,version=21,locale=en,orientation=portrait
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue