super("com.android.frameworktest", GridStackFromBottom.class);
super.setUp(); mActivity = getActivity(); mGridView = getActivity().getGridView();
assertNotNull(mActivity); assertNotNull(mGridView); // Last item should be selected assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());