[Testing] To migration DefaultSubscriptionControllerTest
1. Use AndroidJunit4 instead of RobolectricTestRunner 2. Use ApplicationProvider instead of RuntimeEnvironment to get context 3. Change Copy Right 4. Create new class and add a function which loads the Settings Resource. 5. remove getOnPreferenceChangeListener. Becasue the error: java.lang.NoSuchMethodError: No virtual method getOnPreferenceChangeListener() Bug: 173004787 Test: atest -c DefaultSubscriptionControllerTest Change-Id: Iac9834f2a47bd8b50234646197a31058ffacaa4b
Loading
Please register or sign in to comment
