Searched refs:findFragmentById (Results 1 – 3 of 3) sorted by relevance
48 … Fragment fragmentById = activity.getSupportFragmentManager().findFragmentById(R.id.fragment); in viewLoader_shouldSetFragmentId()159 Fragment fragment = activity.getSupportFragmentManager().findFragmentById( in getCurrentFocus_shouldGetFocusFromFragment()
51 assertThat(manager.findFragmentById(CONTAINER_VIEW_ID), sameInstance((Fragment) fragment)); in shouldFindFragmentById()196 … assertSame(fragment, activity.getSupportFragmentManager().findFragmentById(CONTAINER_VIEW_ID)); in shouldBeAbleToCommitTransactions_whenTheFragmentHasNoView()
57 public Fragment findFragmentById(int id) { in findFragmentById() method in TestFragmentManager