FileDocCategorySizeDatePackage
GridInVerticalTest.javaAPI DocAndroid 5.1 API1580Thu Mar 12 22:22:12 GMT 2015android.widget.gridview

GridInVerticalTest

public class GridInVerticalTest extends android.test.ActivityInstrumentationTestCase

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

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