[Wi-Fi] WiFi Settings inclusive language fix plan phase 1
Replace WiFi related terms which contain Master wording. Goal: Create a fixit for Android Platform to reduce the use of non-inclusive language for all code. Bug: 161425297 Test: make RunSettingsRoboTests -j or make RunSettingsRoboTests ROBOTEST_FILTER=DashboardFragmentTest make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=AutomaticStorageManagementSwitchPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=AllInOneTetherPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=TopLevelNetworkEntryPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=PrimarySwitchPreferenceTest make RunSettingsRoboTests ROBOTEST_FILTER=WifiPrimarySwitchPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherPreferenceControllerTest Change-Id: I9395c50e092e124016609f88f7c8151554a0d874
This commit is contained in:
@@ -39,17 +39,17 @@ import org.robolectric.RobolectricTestRunner;
|
||||
import org.robolectric.RuntimeEnvironment;
|
||||
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
public class MasterSwitchPreferenceTest {
|
||||
public class PrimarySwitchPreferenceTest {
|
||||
|
||||
private Context mContext;
|
||||
private MasterSwitchPreference mPreference;
|
||||
private PrimarySwitchPreference mPreference;
|
||||
private PreferenceViewHolder mHolder;
|
||||
private LinearLayout mWidgetView;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
mContext = RuntimeEnvironment.application;
|
||||
mPreference = new MasterSwitchPreference(mContext);
|
||||
mPreference = new PrimarySwitchPreference(mContext);
|
||||
LayoutInflater inflater = LayoutInflater.from(mContext);
|
||||
mHolder = PreferenceViewHolder.createInstanceForTests(inflater.inflate(
|
||||
com.android.settingslib.R.layout.preference_two_target, null));
|
||||
Reference in New Issue
Block a user