mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00

This matches Chromium pattern of naming instrumentation test apks with a name ending in _test_apk. The old naming confuses generate_gradle.py. Renames: - AppRTCMobileTest -> AppRTCMobile_test_apk - AppRTCMobileTestStubbedVideoIO -> AppRTCMobile_stubbed_video_io_test_apk - libjingle_peerconnection_android_unittest -> android_instrumentation_test_apk Bug: webrtc:9588 TBR: phoglund Change-Id: Idb82dc4bd089bc7c90e9373f7c3d572f9fd2d95a Reviewed-on: https://webrtc-review.googlesource.com/92380 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24184}
14 lines
485 B
Text
14 lines
485 B
Text
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
|