[Testing] Use AndroidJUnit4 instead in PreferredNetworkModePreferenceControllerTest test files
1. Use AndroidJunit4 instead of RobolectricTestRunner 2. Use ApplicationProvider instead of RuntimeEnvironment to get context 3. Change Copy Right 4. Workaround the resource getString to resolve the resource not found 5. Add @After to reset the content provider data Bug: 167377501 Test: atest -c PreferredNetworkModePreferenceControllerTest Change-Id: I8c123747a59eb4cf6c6b8b73109cf00cef4515f0
Loading
Please register or sign in to comment