Merge "Revive DeadZone" into oc-dev am: b278424fa6 am: 305fe47d65

am: d5c0ef9467

Change-Id: Iec82102d862097ef3242da9103996afe94f0909c
This commit is contained in:
Siarhei Vishniakou
2017-06-20 00:11:45 +00:00
committed by android-build-merger
7 changed files with 82 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ public abstract class BaseFragmentTest {
private static final int VIEW_ID = 42;
private final Class<? extends Fragment> mCls;
private Handler mHandler;
private FrameLayout mView;
protected FrameLayout mView;
protected FragmentController mFragments;
protected Fragment mFragment;
@@ -61,9 +61,13 @@ public abstract class BaseFragmentTest {
mCls = cls;
}
protected void createRootView() {
mView = new FrameLayout(mContext);
}
@Before
public void setupFragment() throws Exception {
mView = new FrameLayout(mContext);
createRootView();
mView.setId(VIEW_ID);
assertNotNull("BaseFragmentTest must be tagged with @RunWithLooper",