roboguice.activity.RoboFragmentActivity Java Examples
The following examples show how to use
roboguice.activity.RoboFragmentActivity.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CourseTabsDashboardFragmentTest.java From edx-app-android with Apache License 2.0 | 5 votes |
/** * Testing initialization */ @Test public void initializeTest() { CourseTabsDashboardFragment fragment = CourseTabsDashboardFragment.newInstance(getCourseData(), "testsCourseId", Screen.COURSE_DASHBOARD); SupportFragmentTestUtil.startVisibleFragment(fragment, RoboFragmentActivity.class, android.R.id.content); View view = fragment.getView(); assertNotNull(view); View viewPager = view.findViewById(R.id.viewPager); assertNotNull(viewPager); assertThat(viewPager).isInstanceOf(ViewPager.class); }