webrtc/examples/androidtests
Xavier Lepaul 0f50cc2849 Remove checks for SDK <= 21
WebRTC’s minSdk is 21, so all those checks are dead code.

Change-Id: I26497fd92259b66d9e5ac6afbb393adf4d904c77
Bug: webrtc:13780
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/253124
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Linus Nilsson <lnilsson@webrtc.org>
Commit-Queue: Xavier Lepaul‎ <xalep@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36140}
2022-03-07 09:56:42 +00:00
..
src/org/appspot/apprtc/test Remove checks for SDK <= 21 2022-03-07 09:56:42 +00:00
third_party Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
AndroidManifest.xml Roll chromium_revision 4d95e6c77b..71a0e1904e (776481:782339) 2020-06-26 05:33:14 +00:00
ant.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
build.xml Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
OWNERS Change from sakal@webrtc.org to xalep@webrtc.org in OWNERS files. 2021-04-14 08:27:54 +00:00
project.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Rename rtc_instrumentation_test_apk targets to end with _test_apk. 2018-08-03 12:44:40 +00:00

This directory contains an example unit test for Android AppRTCMobile.

Example of building & using the app:

- Build Android AppRTCMobile and AppRTCMobile unit test:
cd <path/to/webrtc>/src
ninja -C out/Debug AppRTCMobile_test_apk

- Install AppRTCMobile and AppRTCMobileTest:
adb install -r out/Debug/apks/AppRTCMobile.apk
adb install -r out/Debug/apks/AppRTCMobileTest.apk

- Run unit tests:
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner