◆ setUp()
void org.webrtc.NetworkMonitorTest.setUp |
( |
| ) |
|
|
inline |
◆ testConnectivityManagerDelegateDoesNotCrash()
void org.webrtc.NetworkMonitorTest.testConnectivityManagerDelegateDoesNotCrash |
( |
| ) |
|
|
inline |
Tests that ConnectivityManagerDelegate doesn't crash. This test cannot rely on having any active network connections so it cannot usefully check results, but it can at least check that the functions don't crash.
◆ testNetworkMonitorJavaObservers()
void org.webrtc.NetworkMonitorTest.testNetworkMonitorJavaObservers |
( |
| ) |
throws InterruptedException |
|
inline |
Tests that when there is an intent indicating a change in network connectivity, it sends a notification to Java observers.
◆ testNetworkMonitorRegistersInConstructor()
void org.webrtc.NetworkMonitorTest.testNetworkMonitorRegistersInConstructor |
( |
| ) |
throws InterruptedException |
|
inline |
Tests that the receiver registers for connectivity intents during construction.
◆ testQueryableAPIsDoNotCrash()
void org.webrtc.NetworkMonitorTest.testQueryableAPIsDoNotCrash |
( |
| ) |
|
|
inline |
Tests that NetworkMonitorAutoDetect queryable APIs don't crash. This test cannot rely on having any active network connections so it cannot usefully check results, but it can at least check that the functions don't crash.
◆ uiThreadTestRule
UiThreadTestRule org.webrtc.NetworkMonitorTest.uiThreadTestRule = new UiThreadTestRule() |
The documentation for this class was generated from the following file: