HomeSort by relevance Sort by last modified time
    Searched refs:FragmentTestUtil (Results 1 - 14 of 14) sorted by null

  /cts/tests/fragment/src/android/fragment/cts/
FragmentViewTests.java 50 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
58 FragmentTestUtil.executePendingTransactions(mActivityRule);
59 FragmentTestUtil.assertChildren(container, fragment1);
64 FragmentTestUtil.executePendingTransactions(mActivityRule);
65 FragmentTestUtil.assertChildren(container, fragment1, fragment2);
75 FragmentTestUtil.executePendingTransactions(mActivityRule);
76 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4);
79 FragmentTestUtil.executePendingTransactions(mActivityRule);
80 FragmentTestUtil.assertChildren(container, fragment1, fragment2);
83 FragmentTestUtil.executePendingTransactions(mActivityRule)
    [all...]
FragmentReorderingTest.java 46 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
69 FragmentTestUtil.assertChildren(mContainer, fragment2);
79 FragmentTestUtil.assertChildren(mContainer);
90 FragmentTestUtil.executePendingTransactions(mActivityRule);
91 FragmentTestUtil.assertChildren(mContainer, fragment1);
105 FragmentTestUtil.assertChildren(mContainer, fragment1);
108 FragmentTestUtil.popBackStackImmediate(mActivityRule);
109 FragmentTestUtil.assertChildren(mContainer);
133 FragmentTestUtil.assertChildren(mContainer, fragment2);
137 FragmentTestUtil.popBackStackImmediate(mActivityRule)
    [all...]
FragmentAnimatorTest.java 64 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
79 FragmentTestUtil.waitForExecution(mActivityRule);
92 FragmentTestUtil.waitForExecution(mActivityRule);
99 FragmentTestUtil.waitForExecution(mActivityRule);
113 FragmentTestUtil.waitForExecution(mActivityRule);
124 FragmentTestUtil.waitForExecution(mActivityRule);
149 FragmentTestUtil.waitForExecution(mActivityRule);
161 FragmentTestUtil.waitForExecution(mActivityRule);
181 FragmentTestUtil.waitForExecution(mActivityRule);
188 FragmentTestUtil.waitForExecution(mActivityRule)
    [all...]
FragmentExecuteTests.java 45 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
68 FragmentTestUtil.assertChildren(container, fragment);
73 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule));
75 FragmentTestUtil.assertChildren(container);
88 assertFalse(FragmentTestUtil.executePendingTransactions(mActivityRule));
90 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule));
108 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule));
110 FragmentTestUtil.assertChildren(container);
130 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule));
132 FragmentTestUtil.assertChildren(container, fragment)
    [all...]
PostponedTransitionTest.java 56 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
62 FragmentTestUtil.waitForExecution(mActivityRule);
83 FragmentTestUtil.waitForExecution(mActivityRule);
94 FragmentTestUtil.popBackStackImmediate(mActivityRule);
123 FragmentTestUtil.popBackStackImmediate(mActivityRule);
147 FragmentTestUtil.popBackStackImmediate(mActivityRule);
188 FragmentTestUtil.waitForExecution(mActivityRule);
202 FragmentTestUtil.popBackStackImmediate(mActivityRule, commit[0],
231 FragmentTestUtil.waitForExecution(mActivityRule);
244 FragmentTestUtil.waitForExecution(mActivityRule)
    [all...]
FragmentLifecycleTest.java 315 final FragmentController fc = FragmentTestUtil.createController(mActivityRule);
316 FragmentTestUtil.resume(mActivityRule, fc, null);
332 FragmentTestUtil.destroy(mActivityRule, fc);
412 final FragmentController fc = FragmentTestUtil.createController(mActivityRule);
413 FragmentTestUtil.resume(mActivityRule, fc, null);
422 FragmentTestUtil.destroy(mActivityRule, fc);
424 final FragmentController fragmentController = FragmentTestUtil.createController(mActivityRule);
449 FragmentController fc = FragmentTestUtil.createController(mActivityRule);
450 FragmentTestUtil.resume(mActivityRule, fc, null);
485 FragmentController fc = FragmentTestUtil.createController(mActivityRule)
    [all...]
FragmentManagerConfigTest.java 42 ConfigOnStopActivity activity = FragmentTestUtil.recreateActivity(mActivityRule,
FragmentTransactionTest.java 260 FragmentTestUtil.executePendingTransactions(mActivityRule);
271 FragmentTestUtil.executePendingTransactions(mActivityRule);
276 FragmentTestUtil.popBackStackImmediate(mActivityRule);
282 FragmentTestUtil.executePendingTransactions(mActivityRule);
287 FragmentTestUtil.popBackStackImmediate(mActivityRule);
293 FragmentTestUtil.executePendingTransactions(mActivityRule);
300 FragmentTestUtil.popBackStackImmediate(mActivityRule);
307 FragmentTestUtil.popBackStackImmediate(mActivityRule);
336 FragmentTestUtil.executePendingTransactions(mActivityRule);
343 FragmentTestUtil.executePendingTransactions(mActivityRule)
    [all...]
LoaderTest.java 61 LoaderActivity activity = FragmentTestUtil.recreateActivity(mActivityRule,
70 FragmentTestUtil.executePendingTransactions(mActivityRule, fm);
77 FragmentTestUtil.executePendingTransactions(mActivityRule, fm);
82 activity = FragmentTestUtil.recreateActivity(mActivityRule, activity);
87 FragmentTestUtil.waitForExecution(mActivityRule);
90 FragmentTestUtil.forceGC();
105 activity = FragmentTestUtil.recreateActivity(mActivityRule, activity);
FragmentTransitionTest.java 83 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
122 FragmentTestUtil.popBackStackImmediate(mActivityRule);
131 FragmentTestUtil.popBackStackImmediate(mActivityRule);
198 FragmentTestUtil.waitForExecution(mActivityRule);
204 FragmentTestUtil.waitForExecution(mActivityRule);
214 FragmentTestUtil.popBackStackImmediate(mActivityRule);
219 FragmentTestUtil.waitForExecution(mActivityRule);
232 FragmentTestUtil.setContentView(mActivityRule, R.layout.double_container);
243 FragmentTestUtil.waitForExecution(mActivityRule);
358 FragmentTestUtil.waitForExecution(mActivityRule)
    [all...]
PrimaryNavFragmentTest.java 20 import static android.fragment.cts.FragmentTestUtil.executePendingTransactions;
21 import static android.fragment.cts.FragmentTestUtil.popBackStackImmediate;
FragmentTestUtil.java 38 public class FragmentTestUtil {
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/util/
FragmentTestUtil.java 15 public final class FragmentTestUtil {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
FragmentTestUtilTest.java 4 import static org.robolectric.util.FragmentTestUtil.startFragment;
5 import static org.robolectric.util.FragmentTestUtil.startVisibleFragment;

Completed in 474 milliseconds