8390c2762e
First unit test will create peer connection client, run for a few second, close it and verify that there were no any errors and local video was rendered. Second unit test will run peer connection in a loopback mode. To run the test from command line install AppRTCDemoTest.apk and execute the command: adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner R=jiayl@webrtc.org Review URL: https://webrtc-codereview.appspot.com/33609004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7991 4adac7df-926f-26a2-2b94-8c16560cd09d
14 lines
465 B
Plaintext
14 lines
465 B
Plaintext
This directory contains an example unit test for Android AppRTCDemo.
|
|
|
|
Example of building & using the app:
|
|
|
|
- Build Android AppRTCDemo and AppRTCDemo unit test:
|
|
cd <path/to/webrtc>/src
|
|
ninja -C out/Debug AppRTCDemoTest
|
|
|
|
- Install AppRTCDemo and AppRTCDemoTest:
|
|
adb install -r out/Debug/AppRTCDemo-debug.apk
|
|
adb install -r out/Debug/AppRTCDemoTest-debug.apk
|
|
|
|
- Run unit tests:
|
|
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner |