FileDocCategorySizeDatePackage
GridStackFromBottomManyTest.javaAPI DocAndroid 5.1 API1618Thu Mar 12 22:22:12 GMT 2015android.widget.gridview

GridStackFromBottomManyTest

public class GridStackFromBottomManyTest extends android.test.ActivityInstrumentationTestCase

Fields Summary
private android.widget.gridview.GridStackFromBottomMany
mActivity
private android.widget.GridView
mGridView
Constructors Summary
public GridStackFromBottomManyTest()

        super("com.android.frameworks.coretests", GridStackFromBottomMany.class);
    
Methods Summary
protected voidsetUp()

        super.setUp();

        mActivity = getActivity();
        mGridView = getActivity().getGridView();
    
public voidtestPreconditions()

        assertNotNull(mActivity);
        assertNotNull(mGridView);

        // Last item should be selected
        assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());