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

GridInVerticalTest

public class GridInVerticalTest extends android.test.ActivityInstrumentationTestCase

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

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

        super.setUp();

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

        assertNotNull(mActivity);
        assertNotNull(mGridView);
        assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
        assertTrue("Grid has 0 height", mGridView.getMeasuredHeight() > 0);