Home
last modified time | relevance | path

Searched refs:FragmentTestActivity (Results 1 – 18 of 18) sorted by relevance

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DNestedFragmentRestoreTest.java29 import androidx.fragment.app.test.FragmentTestActivity;
30 import androidx.fragment.app.test.FragmentTestActivity.ChildFragment;
31 import androidx.fragment.app.test.FragmentTestActivity.ChildFragment.OnAttachListener;
32 import androidx.fragment.app.test.FragmentTestActivity.ParentFragment;
45 public ActivityTestRule<FragmentTestActivity> mActivityRule = new ActivityTestRule<>(
46 FragmentTestActivity.class);
54 final FragmentTestActivity activity = mActivityRule.getActivity(); in recreateActivity()
58 FragmentTestActivity.ParentFragment parent = new ParentFragment(); in recreateActivity()
DChildFragmentStateTest.java27 import androidx.fragment.app.test.FragmentTestActivity;
28 import androidx.fragment.app.test.FragmentTestActivity.ParentFragment;
38 public ActivityTestRule<FragmentTestActivity> mActivityRule =
39 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
44 FragmentTestActivity.ParentFragment parent = new ParentFragment(); in testChildFragmentOrdering()
DNestedFragmentTest.java33 import androidx.fragment.app.test.FragmentTestActivity;
34 import androidx.fragment.app.test.FragmentTestActivity.ChildFragment;
35 import androidx.fragment.app.test.FragmentTestActivity.ParentFragment;
49 public ActivityTestRule<FragmentTestActivity> mActivityRule =
50 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentViewLifecycleTest.java34 import androidx.fragment.app.test.FragmentTestActivity;
53 public ActivityTestRule<FragmentTestActivity> mActivityRule =
54 new ActivityTestRule<>(FragmentTestActivity.class);
59 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycle()
72 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycleNullView()
88 final FragmentTestActivity activity = mActivityRule.getActivity(); in testObserveInOnCreateViewNullView()
105 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycleRunOnCommit()
125 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycleOwnerLiveData()
162 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycleDetach()
190 final FragmentTestActivity activity = mActivityRule.getActivity(); in testFragmentViewLifecycleReattach()
DFragmentReplaceTest.java31 import androidx.fragment.app.test.FragmentTestActivity;
32 import androidx.fragment.app.test.FragmentTestActivity.TestFragment;
47 public ActivityTestRule<FragmentTestActivity> mActivityRule =
48 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DNestedInflatedFragmentTest.java31 import androidx.fragment.app.test.FragmentTestActivity;
44 public ActivityTestRule<FragmentTestActivity> mActivityRule =
45 new ActivityTestRule<>(FragmentTestActivity.class);
50 final FragmentTestActivity activity = mActivityRule.getActivity(); in inflatedChildFragment()
DFragmentReceiveResultTest.java38 import androidx.fragment.app.test.FragmentTestActivity;
55 public ActivityTestRule<FragmentTestActivity> mActivityRule =
56 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
58 private FragmentTestActivity mActivity;
DFragmentTestUtil.java33 import androidx.fragment.app.test.FragmentTestActivity;
89 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule) { in popBackStackImmediate()
101 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
115 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
129 public static void setContentView(final ActivityTestRule<FragmentTestActivity> rule, in setContentView()
DFragmentTest.java35 import androidx.fragment.app.test.FragmentTestActivity;
51 public ActivityTestRule<FragmentTestActivity> mActivityRule =
52 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
54 private FragmentTestActivity mActivity;
DFragmentTransactionTest.java40 import androidx.fragment.app.test.FragmentTestActivity;
62 public ActivityTestRule<FragmentTestActivity> mActivityRule =
63 new ActivityTestRule<>(FragmentTestActivity.class);
65 private FragmentTestActivity mActivity;
304 FragmentTestActivity activity = mActivityRule.getActivity(); in crashOnBackPressed()
434 Intent intent2 = new Intent(mActivity, FragmentTestActivity.class); in newIntentUnlocks()
DFragmentAnimatorTest.java39 import androidx.fragment.app.test.FragmentTestActivity;
65 public ActivityTestRule<FragmentTestActivity> mActivityRule =
66 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentReorderingTest.java32 import androidx.fragment.app.test.FragmentTestActivity;
44 public ActivityTestRule<FragmentTestActivity> mActivityRule =
45 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentAnimationTest.java41 import androidx.fragment.app.test.FragmentTestActivity;
67 public ActivityTestRule<FragmentTestActivity> mActivityRule =
68 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DPostponedTransitionTest.java39 import androidx.fragment.app.test.FragmentTestActivity;
52 public ActivityTestRule<FragmentTestActivity> mActivityRule =
53 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentTransitionTest.java38 import androidx.fragment.app.test.FragmentTestActivity;
67 public ActivityTestRule<FragmentTestActivity> mActivityRule =
68 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentViewTests.java37 import androidx.fragment.app.test.FragmentTestActivity;
49 public ActivityTestRule<FragmentTestActivity> mActivityRule =
50 new ActivityTestRule<FragmentTestActivity>(FragmentTestActivity.class);
DFragmentLifecycleTest.java57 import androidx.fragment.app.test.FragmentTestActivity;
953 Intent intent = new Intent(mActivityRule.getActivity(), FragmentTestActivity.class); in fragmentActivityFinishEarly()
957 FragmentTestActivity activity = (FragmentTestActivity) in fragmentActivityFinishEarly()
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
DFragmentTestActivity.java44 public class FragmentTestActivity extends FragmentActivity { class