Home
last modified time | relevance | path

Searched refs:TestFragment (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DBaseCarSettingsActivityTest.java78 pref.setFragment(TestFragment.class.getName()); in onPreferenceStartFragment_launchesFragment()
83 R.id.fragment_container)).isInstanceOf(TestFragment.class); in onPreferenceStartFragment_launchesFragment()
117 TestFragment fragment = new TestFragment(); in findDialogByTag_notDialogFragment()
130 TestFragment fragmentA = new TestFragment(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
131 TestFragment fragmentB = new TestFragment(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
156 TestFragment fragmentA = new TestFragment(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
157 TestFragment fragmentB = new TestFragment(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
187 return new TestFragment(); in getInitialFragment()
192 public static class TestFragment extends Fragment implements class in BaseCarSettingsActivityTest
DCarSettingActivityTest.java137 TestFragment testFragment = new TestFragment(); in onResume_newIntent_launchesNewFragment()
152 assertThat(mActivity.getCurrentFragment()).isNotInstanceOf(TestFragment.class); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent()
154 mActivity.launchFragment(new TestFragment()); // Replace with test fragment. in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent()
163 assertThat(mActivityController.get().getCurrentFragment()).isInstanceOf(TestFragment.class); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent()
171 TestFragment testFragment1 = new TestFragment(); in launchFragment_rootFragment_clearsBackStack()
175 TestFragment testFragment2 = new TestFragment(); in launchFragment_rootFragment_clearsBackStack()
192 TestFragment testFragment1 = new TestFragment(); in launchFragment_validIntent_clearsBackStack()
196 TestFragment testFragment2 = new TestFragment(); in launchFragment_validIntent_clearsBackStack()
208 public static class TestFragment extends Fragment { class in CarSettingActivityTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DDeviceListPreferenceFragmentTest.java61 private TestFragment mFragment;
68 mFragment = spy(new TestFragment()); in setUp()
175 public static class TestFragment extends DeviceListPreferenceFragment { class in DeviceListPreferenceFragmentTest
177 public TestFragment() { in TestFragment() method in DeviceListPreferenceFragmentTest.TestFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettingsTest.java41 private TestFragment mSettings;
46 mSettings = spy(new TestFragment()); in setUp()
61 public static class TestFragment extends SavedAccessPointsWifiSettings { class in SavedAccessPointsWifiSettingsTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/actionbar/
DHelpMenuControllerTest.java40 private TestFragment mHost;
45 mHost = spy(new TestFragment()); in setUp()
71 private static class TestFragment extends ObservablePreferenceFragment class in HelpMenuControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkScorerPickerTest.java66 private TestFragment mFragment;
72 mFragment = new TestFragment(mContext, mPreferenceScreen, mNetworkScoreManager); in setUp()
170 public static class TestFragment extends NetworkScorerPicker { class in NetworkScorerPickerTest
177 public TestFragment(Context context, PreferenceScreen preferenceScreen, in TestFragment() method in NetworkScorerPickerTest.TestFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageBaseTest.java52 private TestFragment mFragment;
58 mFragment = spy(new TestFragment()); in setUp()
70 public static class TestFragment extends PowerUsageBase { class in PowerUsageBaseTest
DPowerUsageSummaryTest.java138 private TestFragment mFragment;
153 mFragment = spy(new TestFragment(mRealContext)); in setUp()
385 public static class TestFragment extends PowerUsageSummary { class in PowerUsageSummaryTest
388 public TestFragment(Context context) { in TestFragment() method in PowerUsageSummaryTest.TestFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeScheduleRuleSettingsTest.java58 private TestFragment mFragment;
69 mFragment = spy(new TestFragment()); in setUp()
98 public static class TestFragment extends ZenModeScheduleRuleSettings { class in ZenModeScheduleRuleSettingsTest
DZenModeEventRuleSettingsTest.java61 private TestFragment mFragment;
72 mFragment = spy(new TestFragment()); in setUp()
110 private static class TestFragment extends ZenModeEventRuleSettings { class in ZenModeEventRuleSettingsTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java86 final PreferenceFragmentCompat fragment = FragmentController.of(new TestFragment(), in isSelectable_default_returnFalse()
101 final PreferenceFragmentCompat fragment = FragmentController.of(new TestFragment(), in isSelectable_selectableInXml_returnTrue()
113 public static class TestFragment extends PreferenceFragmentCompat { class in SeekBarPreferenceTest
DRadioButtonPickerFragmentTest.java60 private TestFragment mFragment;
66 mFragment = spy(new TestFragment()); in setUp()
128 public static class TestFragment extends RadioButtonPickerFragment { class in RadioButtonPickerFragmentTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppInfoWithHeaderTest.java68 private TestFragment mAppInfoWithHeader;
76 mAppInfoWithHeader = new TestFragment(); in setUp()
173 public static class TestFragment extends AppInfoWithHeader { class in AppInfoWithHeaderTest
181 public TestFragment() { in TestFragment() method in AppInfoWithHeaderTest.TestFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAppPickerFragmentTest.java60 private TestFragment mFragment;
66 mFragment = spy(new TestFragment()); in setUp()
99 public static class TestFragment extends DefaultAppPickerFragment { class in DefaultAppPickerFragmentTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockTypeDialogFragmentTest.java51 private TestFragment mFragment;
56 mFragment = new TestFragment(); in setUp()
101 public static class TestFragment extends Fragment implements OnLockTypeSelectedListener { class in ChooseLockTypeDialogFragmentTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java81 private TestFragment mFragment;
96 mFragment = new TestFragment(mActivity); in setUp()
195 public static class TestFragment extends LanguageAndInputSettings { class in LanguageAndInputSettingsTest
200 public TestFragment(Context context) { in TestFragment() method in LanguageAndInputSettingsTest.TestFragment
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DLockTypeBasePreferenceControllerTest.java57 private static class TestFragment extends Fragment { class in LockTypeBasePreferenceControllerTest
69 return new TestFragment(); in fragmentToOpen()
117 any(TestFragment.class)); in testHandlePreferenceClicked_goesToNextFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java59 private TestFragment mTestFragment;
69 mTestFragment = spy(new TestFragment()); in setUp()
135 public static class TestFragment extends LockscreenDashboardFragment { class in LockscreenDashboardFragmentTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java74 private TestFragment mTestFragment;
89 mTestFragment = new TestFragment(RuntimeEnvironment.application); in setUp()
280 public static class TestFragment extends DashboardFragment { class in DashboardFragmentTest
288 public TestFragment(Context context) { in TestFragment() method in DashboardFragmentTest.TestFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java63 private TestFragment mFragment;
71 mFragment = spy(new TestFragment()); in setUp()
190 public static class TestFragment extends SettingsPreferenceFragment { class in SettingsPreferenceFragmentTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java82 private TestFragment mFragment;
109 mFragment = spy(new TestFragment()); in setUp()
343 protected class TestFragment extends WifiCallingSettingsForSub { class in WifiCallingSettingsForSubTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragmentTest.java54 private TestFragment mTargetFragment;
139 public static class TestFragment extends Fragment implements class in ButtonActionDialogFragmentTest
DAppButtonsPreferenceControllerTest.java99 private TestFragment mFragment;
476 public static class TestFragment extends InstrumentedPreferenceFragment class in AppButtonsPreferenceControllerTest
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/
DTestFragment.java29 public class TestFragment extends Fragment { class