Class SupportFragmentTestUtil
java.lang.Object
org.robolectric.shadows.support.v4.SupportFragmentTestUtil
@Deprecated public class SupportFragmentTestUtil extends Object
Deprecated.
Android encourages developers to use androidx fragments, to test these use 
androidx.fragment.app.testing.FragmentScenario.Utilities for creating Fragments for testing.
- 
Constructor SummaryConstructors Constructor Description SupportFragmentTestUtil()Deprecated.
- 
Method SummaryModifier and Type Method Description static voidstartFragment(android.support.v4.app.Fragment fragment)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launch(Class, Bundle, FragmentFactory).static voidstartFragment(android.support.v4.app.Fragment fragment, Class<? extends android.support.v4.app.FragmentActivity> fragmentActivityClass)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launch(Class, Bundle, Int, FragmentFactory).static voidstartVisibleFragment(android.support.v4.app.Fragment fragment)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launchInContainer(Class, Bundle, FragmentFactory).static voidstartVisibleFragment(android.support.v4.app.Fragment fragment, Class<? extends android.support.v4.app.FragmentActivity> fragmentActivityClass, int containerViewId)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launchInContainer(Class, Bundle, Int, FragmentFactory).
- 
Constructor Details- 
SupportFragmentTestUtilpublic SupportFragmentTestUtil()Deprecated.
 
- 
- 
Method Details- 
startFragmentDeprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launch(Class, Bundle, FragmentFactory).Starts fragment.
- 
startFragment@Deprecated public static void startFragment(android.support.v4.app.Fragment fragment, Class<? extends android.support.v4.app.FragmentActivity> fragmentActivityClass)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launch(Class, Bundle, Int, FragmentFactory).Starts fragment hosted by thefragmentActivityClass.
- 
startVisibleFragmentDeprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launchInContainer(Class, Bundle, FragmentFactory).Starts fragment with visible container for testing UI.
- 
startVisibleFragment@Deprecated public static void startVisibleFragment(android.support.v4.app.Fragment fragment, Class<? extends android.support.v4.app.FragmentActivity> fragmentActivityClass, int containerViewId)Deprecated.Start fragments usingandroidx.fragment.app.testing.FragmentScenario#launchInContainer(Class, Bundle, Int, FragmentFactory).Starts fragment hosted by thefragmentActivityClasswith visible container for testing UI.
 
-