super("com.android.frameworktest", GridInVertical.class);
super.setUp(); mActivity = getActivity(); mGridView = getActivity().getGridView();
assertNotNull(mActivity); assertNotNull(mGridView); assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0); assertTrue("Grid has 0 height", mGridView.getMeasuredHeight() > 0);