FileDocCategorySizeDatePackage
GridSingleColumnTest.javaAPI DocAndroid 5.1 API1499Thu Mar 12 22:22:12 GMT 2015android.widget.gridview

GridSingleColumnTest

public class GridSingleColumnTest extends android.test.ActivityInstrumentationTestCase

Fields Summary
private android.widget.gridview.GridSingleColumn
mActivity
private android.widget.GridView
mGridView
Constructors Summary
public GridSingleColumnTest()

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

        super.setUp();

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

        assertNotNull(mActivity);
        assertNotNull(mGridView);
        assertEquals(0, mGridView.getSelectedItemPosition());