Searched refs:TestFragment (Results 1 – 9 of 9) sorted by relevance
17 val fragment = TestFragment() in transaction()28 val fragment = TestFragment() in transactionNow()41 add(TestFragment(), null) in transactionAllowingStateLoss()52 add(TestFragment(), null) in transactionNowAllowingStateLoss()59 class TestFragment : Fragment() class
49 TestFragment fragment = new TestFragment(); in testViewModelInTransactionActivity()72 TestFragment fragment = new TestFragment(); in onCreate()80 public static class TestFragment extends Fragment { class in ViewModelTestInTransaction
50 TestFragment fragment = new TestFragment(); in testViewModelInTransactionActivity()75 TestFragment fragment = new TestFragment(); in onCreate()85 public static class TestFragment extends Fragment { class in ViewModelTestInTransaction
32 import androidx.fragment.app.test.FragmentTestActivity.TestFragment;63 .add(R.id.content, TestFragment.create(R.layout.fragment_a)) in testReplaceFragment()73 .add(R.id.content, TestFragment.create(R.layout.fragment_b)) in testReplaceFragment()82 .replace(R.id.content, TestFragment.create(R.layout.fragment_c)) in testReplaceFragment()
59 private TestFragment mFragment;131 private TestFragment attachTestFragment() throws Throwable { in attachTestFragment()132 final TestFragment fragment = new TestFragment(); in attachTestFragment()187 public static class TestFragment extends Fragment { class in FragmentReceiveResultTest
61 public static class TestFragment extends ObservableFragment { class in LifecycleTest65 public TestFragment() { in TestFragment() method in LifecycleTest.TestFragment200 FragmentController<TestFragment> fragmentController = in runThroughFragmentLifecycles_shouldObserveEverything()201 Robolectric.buildFragment(TestFragment.class); in runThroughFragmentLifecycles_shouldObserveEverything()202 TestFragment fragment = fragmentController.get(); in runThroughFragmentLifecycles_shouldObserveEverything()240 FragmentController<TestFragment> fragmentController = in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()241 Robolectric.buildFragment(TestFragment.class); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()242 TestFragment fragment = fragmentController.get(); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()
66 public static class TestFragment extends Fragment { class in FragmentTestActivity88 public TestFragment() { in TestFragment() method in FragmentTestActivity.TestFragment96 public static TestFragment create(int layoutId) { in create()97 TestFragment testFragment = new TestFragment(); in create()
51 .add(android.R.id.content, TestFragment()) in findNavControllerNull()64 class TestFragment : Fragment() class
31 public class TestFragment extends Fragment { class