FileDocCategorySizeDatePackage
GridSingleColumnTest.javaAPI DocAndroid 1.5 API1514Wed May 06 22:42:02 BST 2009com.android.frameworktest.gridview

GridSingleColumnTest

public class GridSingleColumnTest extends android.test.ActivityInstrumentationTestCase

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

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

        super.setUp();

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

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