Lines Matching refs:mActivity
32 private FragmentTestActivity mActivity;
42 mActivity = getActivity();
47 mActivity.getSupportFragmentManager().beginTransaction()
51 mActivity.getSupportFragmentManager().executePendingTransactions();
52 assertNotNull(mActivity.findViewById(R.id.textA));
53 assertNull(mActivity.findViewById(R.id.textB));
54 assertNull(mActivity.findViewById(R.id.textC));
57 mActivity.getSupportFragmentManager().beginTransaction()
61 mActivity.getSupportFragmentManager().executePendingTransactions();
62 assertNotNull(mActivity.findViewById(R.id.textA));
63 assertNotNull(mActivity.findViewById(R.id.textB));
64 assertNull(mActivity.findViewById(R.id.textC));
66 mActivity.getSupportFragmentManager().beginTransaction()
70 mActivity.getSupportFragmentManager().executePendingTransactions();
71 assertNull(mActivity.findViewById(R.id.textA));
72 assertNull(mActivity.findViewById(R.id.textB));
73 assertNotNull(mActivity.findViewById(R.id.textC));
79 mActivity.getFragmentManager().beginTransaction()
83 mActivity.getFragmentManager().executePendingTransactions();
84 assertEquals(1, mActivity.getFragmentManager().getBackStackEntryCount());
88 assertEquals(0, mActivity.getFragmentManager().getBackStackEntryCount());