Home
last modified time | relevance | path

Searched refs:LoginActivity (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DSupportFragmentControllerTest.java39 SupportFragmentController.of(fragment, LoginActivity.class); in initialNotAttached_customActivity()
59 SupportFragmentController.of(fragment, LoginActivity.class).create(); in attachedAfterCreate_customActivity()
62 assertThat(fragment.getActivity()).isInstanceOf(LoginActivity.class); in attachedAfterCreate_customActivity()
90 SupportFragmentController.of(fragment, LoginActivity.class).create().start().resume(); in isResumed()
102 SupportFragmentController.of(fragment, LoginActivity.class).create().start().resume().pause(); in isPaused()
116 …SupportFragmentController.of(fragment, LoginActivity.class).create().start().resume().pause().stop… in isStopped()
135 SupportFragmentController.of(fragment, LoginActivity.class, intent).create(); in withIntent()
145 …Controller<LoginFragment> controller = SupportFragmentController.of(fragment, LoginActivity.class); in visible()
158 SupportFragmentController.of(fragment, LoginActivity.class); in savesInstanceState()
160 LoginActivity activity = (LoginActivity) controller.get().getActivity(); in savesInstanceState()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DFragmentControllerTest.java39 FragmentController.of(fragment, LoginActivity.class); in initialNotAttached_customActivity()
73 FragmentController.of(fragment, LoginActivity.class).create(); in attachedAfterCreate_customActivity()
77 assertThat(fragment.getActivity()).isInstanceOf(LoginActivity.class); in attachedAfterCreate_customActivity()
86 FragmentController.of(fragment, LoginActivity.class).create().start().resume(); in isResumed()
97 FragmentController.of(fragment, LoginActivity.class).create().start().resume().pause(); in isPaused()
111 FragmentController.of(fragment, LoginActivity.class).create().start().resume().pause().stop(); in isStopped()
130 …FragmentController<LoginFragment> controller = FragmentController.of(fragment, LoginActivity.class… in withIntent()
143 …FragmentController<LoginFragment> controller = FragmentController.of(fragment, LoginActivity.class… in withArguments()
152 …ragmentController<LoginFragment> controller = FragmentController.of(fragment, LoginActivity.class); in visible()
170 private static class LoginActivity extends Activity { class in FragmentControllerTest
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFragmentTestUtilTest.java53 startFragment(fragment, LoginActivity.class); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
58 assertThat(fragment.getActivity()).isInstanceOf(LoginActivity.class); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
64 startVisibleFragment(fragment, LoginActivity.class, 1); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
69 assertThat(fragment.getActivity()).isInstanceOf(LoginActivity.class); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
75 startVisibleFragment(fragment, LoginActivity.class, 1); in startVisibleFragment_shouldAttachFragmentToActivityWithSpecifiedActivityClass()
78 assertThat(fragment.getActivity()).isInstanceOf(LoginActivity.class); in startVisibleFragment_shouldAttachFragmentToActivityWithSpecifiedActivityClass()
88 private static class LoginActivity extends Activity { class in FragmentTestUtilTest