Class FragmentTestUtil

java.lang.Object
org.robolectric.util.FragmentTestUtil

@Deprecated public final class FragmentTestUtil extends Object
Deprecated.
Please use Robolectric.buildFragment(Class) instead. This will be removed in a forthcoming release,
  • Constructor Details

    • FragmentTestUtil

      public FragmentTestUtil()
      Deprecated.
  • Method Details

    • startFragment

      public static void startFragment(Fragment fragment)
      Deprecated.
    • startFragment

      public static void startFragment(Fragment fragment, Class<? extends Activity> activityClass)
      Deprecated.
    • startVisibleFragment

      public static void startVisibleFragment(Fragment fragment)
      Deprecated.
    • startVisibleFragment

      public static void startVisibleFragment(Fragment fragment, Class<? extends Activity> activityClass, int containerViewId)
      Deprecated.