FileDocCategorySizeDatePackage
ListBottomGravityManyTest.javaAPI DocAndroid 1.5 API1629Wed May 06 22:42:02 BST 2009com.android.frameworktest.listview

ListBottomGravityManyTest

public class ListBottomGravityManyTest extends android.test.ActivityInstrumentationTestCase

Fields Summary
private com.android.frameworktest.listview.ListBottomGravityMany
mActivity
private android.widget.ListView
mListView
Constructors Summary
public ListBottomGravityManyTest()

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

        super.setUp();

        mActivity = getActivity();
        mListView = getActivity().getListView();
    
public voidtestPreconditions()

        assertNotNull(mActivity);
        assertNotNull(mListView);
        
        // Last item should be selected
        assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());