Skip to content
Commit bbfc8eb3 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

Update NoWifiStatePermissionTest to AndroidJUnit4

This test currently extends the deprecated AndroidTestCase, which has no
support for (1) Assume, or, (2) expected exceptions. Upgrade to
AndroidJUnit4, which gives us both features, and simplifies the tests.

Assume gives more informative test results when WiFi is not available
on a device, in which case we currently just show a passing test case.

Fix: 274613210
Test: atest NoWifiStatePermissionTest
Change-Id: Ie4f9216cc35c43723536144f92d1faee2343f2c3
parent d90271a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment