LooperExecutor is only truly needed in WebSocketChannelClient because of WebSocketClient from autobanh requiring thread to have a looper. So LooperExecutor was left there but replaced everywhere else with built-in singleThreadExecutor/singleThreadScheduledExecutor. Motivation behind this change is that built-in class behaves better under testing environment and doesn't require hacky RobolectricLooperExecutor. Review-Url: https://codereview.webrtc.org/1992213002 Cr-Commit-Position: refs/heads/master@{#12823}
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/apks/AppRTCDemo.apk adb install -r out/Debug/apks/AppRTCDemoTest.apk - Run unit tests: adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner