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

GridStackFromBottomManyTest

public class GridStackFromBottomManyTest extends android.test.ActivityInstrumentationTestCase

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

        super("com.android.frameworktest", 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());