FileDocCategorySizeDatePackage
TestActivity.javaAPI DocAndroid 1.5 API2016Wed May 06 22:42:02 BST 2009com.android.statusbartest

TestActivity

public abstract class TestActivity extends android.app.ListActivity

Fields Summary
Test[]
mTests
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);

        mTests = tests();

        String[] labels = new String[mTests.length];
        for (int i=0; i<mTests.length; i++) {
            labels[i] = mTests[i].name;
        }

        setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels));
    
public voidonListItemClick(android.widget.ListView l, android.view.View v, int position, long id)

        Test t = mTests[position];
        Log.d(tag(), "Test: " + t.name);
        t.run();
    
protected abstract java.lang.Stringtag()

protected abstract com.android.statusbartest.TestActivity$Test[]tests()