FileDocCategorySizeDatePackage
LayoutTestsAutoRunner.javaAPI DocAndroid 1.5 API2237Wed May 06 22:42:02 BST 2009com.android.dumprendertree

LayoutTestsAutoRunner

public class LayoutTestsAutoRunner extends android.test.InstrumentationTestRunner
Instrumentation Test Runner for all DumpRenderTree tests. Running all tests: adb shell am instrument \ -w com.android.dumprendertree.LayoutTestsAutoRunner

Fields Summary
public String
mTestPath
public int
mTimeoutInMillis
public boolean
mRebaseline
Constructors Summary
Methods Summary
public junit.framework.TestSuitegetAllTests()

        TestSuite suite = new InstrumentationTestSuite(this);
        suite.addTestSuite(LayoutTestsAutoTest.class);
        suite.addTestSuite(LoadTestsAutoTest.class);
        return suite;
    
public java.lang.ClassLoadergetLoader()

        return LayoutTestsAutoRunner.class.getClassLoader();
    
public voidonCreate(android.os.Bundle icicle)

        this.mTestPath = (String) icicle.get("path");
        String timeout_str = (String) icicle.get("timeout");
        if (timeout_str != null) {
            try {
                this.mTimeoutInMillis = Integer.parseInt(timeout_str);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        
        String r = (String)icicle.get("rebaseline");
        this.mRebaseline = (r != null && r.toLowerCase().equals("true"));
        super.onCreate(icicle);