Lines Matching refs:mActivityRule
53 public ActivityTestRule<ViewModelActivity> mActivityRule =
63 viewModelActivity[0] = mActivityRule.getActivity();
64 mActivityRule.runOnUiThread(new Runnable() {
75 assertThat(mActivityRule.getActivity().activityModel, is(fragment1.activityModel));
76 activityModel[0] = mActivityRule.getActivity().activityModel;
77 defaultActivityModel[0] = mActivityRule.getActivity().defaultActivityModel;
84 mActivityRule.runOnUiThread(new Runnable() {
100 assertThat(mActivityRule.getActivity().activityModel, is(activityModel[0]));
101 assertThat(mActivityRule.getActivity().defaultActivityModel,
110 TestViewModel activityModel = mActivityRule.getActivity().activityModel;
117 final ViewModelActivity activity = mActivityRule.getActivity();
137 mActivityRule.runOnUiThread(new Runnable() {
156 final ViewModelActivity previous = mActivityRule.getActivity();
157 mActivityRule.runOnUiThread(new Runnable() {