Home
last modified time | relevance | path

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

/frameworks/support/fragment/ktx/src/androidTest/java/androidx/fragment/app/
DFragmentManagerTest.kt17 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
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
DViewModelTestInTransaction.java49 TestFragment fragment = new TestFragment(); in testViewModelInTransactionActivity()
72 TestFragment fragment = new TestFragment(); in onCreate()
80 public static class TestFragment extends Fragment { class in ViewModelTestInTransaction
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DViewModelTestInTransaction.java50 TestFragment fragment = new TestFragment(); in testViewModelInTransactionActivity()
75 TestFragment fragment = new TestFragment(); in onCreate()
85 public static class TestFragment extends Fragment { class in ViewModelTestInTransaction
DFragmentReplaceTest.java32 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()
DFragmentReceiveResultTest.java59 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
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java61 public static class TestFragment extends ObservableFragment { class in LifecycleTest
65 public TestFragment() { in TestFragment() method in LifecycleTest.TestFragment
200 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()
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
DFragmentTestActivity.java66 public static class TestFragment extends Fragment { class in FragmentTestActivity
88 public TestFragment() { in TestFragment() method in FragmentTestActivity.TestFragment
96 public static TestFragment create(int layoutId) { in create()
97 TestFragment testFragment = new TestFragment(); in create()
/frameworks/support/navigation/fragment/ktx/src/androidTest/java/androidx/navigation/fragment/
DFragmentTest.kt51 .add(android.R.id.content, TestFragment()) in findNavControllerNull()
64 class TestFragment : Fragment() class
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
DTestFragment.java31 public class TestFragment extends Fragment { class