Back to project page StravaFlow.
The source code is released under:
MIT License
If you think the Android project StravaFlow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package util; /* w w w .java 2s . c om*/ import android.app.Fragment; import android.test.ActivityInstrumentationTestCase2; public abstract class FragmentTestCase extends ActivityInstrumentationTestCase2<FragmentTestActivity> { public FragmentTestCase() { super(FragmentTestActivity.class); } @Override protected void setUp() throws Exception { super.setUp(); getActivity().addFragment(getFragment()); } protected abstract Fragment getFragment(); }