summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/examples/androidtests/README
blob: 0701b0e896690f135dd8cdf1094777fea0cece50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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