Java 类android.test.AndroidTestRunner 实例源码

项目:loopy-sdk-android    文件:LoopyTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    Log.d(TAG, "Getting android test runner");
 AndroidTestRunner runner = super.getAndroidTestRunner();
    if (junitOutputEnabled && !justCount && !logOnly) {
        Log.d(TAG, "JUnit test output enabled");
        outputEnabled = true;
        runner.addTestListener(new JunitTestListener());
    }
    else {
        outputEnabled = false;
        Log.d(TAG, "JUnit test output disabled: [ junitOutputEnabled : " + junitOutputEnabled + ", justCount : "
                + justCount + ", logOnly : " + logOnly + " ]");
    }
    return runner;
}
项目:daxSmail    文件:JUnitReportTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    AndroidTestRunner runner = makeAndroidTestRunner();
    mListener = new JUnitReportListener(getContext(), getTargetContext(), mReportFile, mReportDir, mFilterTraces, mMultiFile);
    runner.addTestListener(mListener);
    return runner;
}
项目:mc_backup    文件:BrowserInstrumentationTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    Log.d(LOG_TAG, "getAndroidTestRunner");
    AndroidTestRunner testRunner = super.getAndroidTestRunner();
    testRunner.addTestListener(new BrowserTestListener());
    return testRunner;
}
项目:the-missing-android-xml-junit-test-runner    文件:PolideaInstrumentationTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    Log.d(TAG, "Getting android test runner");
    runner = super.getAndroidTestRunner();
    if (junitOutputEnabled && !justCount && !logOnly) {
        Log.d(TAG, "JUnit test output enabled");
        outputEnabled = true;
        runner.addTestListener(new JunitTestListener());
    } else {
        outputEnabled = false;
        Log.d(TAG, "JUnit test output disabled: [ junitOutputEnabled : " + junitOutputEnabled + ", justCount : "
                + justCount + ", logOnly : " + logOnly + " ]");
    }
    return runner;
}
项目:k-9    文件:JUnitReportTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    AndroidTestRunner runner = makeAndroidTestRunner();
    mListener = new JUnitReportListener(getContext(), getTargetContext(), mReportFile, mReportDir, mFilterTraces, mMultiFile);
    runner.addTestListener(mListener);
    return runner;
}
项目:k-9-master    文件:JUnitReportTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    AndroidTestRunner runner = makeAndroidTestRunner();
    mListener = new JUnitReportListener(getContext(), getTargetContext(), mReportFile, mReportDir, mFilterTraces, mMultiFile);
    runner.addTestListener(mListener);
    return runner;
}
项目:daxSmail    文件:JUnitReportTestRunner.java   
/** you can subclass and override this if you want to use a different TestRunner */
protected AndroidTestRunner makeAndroidTestRunner() {
    return new AndroidTestRunner();
}
项目:android-test-kit    文件:GoogleInstrumentationTestRunner.java   
/**
 * Provides access to the underlying AndroidTestRunner.
 */
public AndroidTestRunner getAndroidTestRunner() {
  return bridgeTestRunner.getAndroidTestRunner();
}
项目:android-test-kit    文件:GoogleInstrumentationTestRunner.java   
@Override
public AndroidTestRunner getAndroidTestRunner() {
  return myAndroidTestRunner;
}
项目:k-9    文件:JUnitReportTestRunner.java   
/** you can subclass and override this if you want to use a different TestRunner */
protected AndroidTestRunner makeAndroidTestRunner() {
    return new AndroidTestRunner();
}
项目:RHITMobile-Android    文件:CustomInstrumentationTestRunner.java   
@Override
protected AndroidTestRunner getAndroidTestRunner() {
    this.runner = super.getAndroidTestRunner();
    runner.addTestListener(new CustomTestListener());
    return runner;
}
项目:k-9-master    文件:JUnitReportTestRunner.java   
/** you can subclass and override this if you want to use a different TestRunner */
protected AndroidTestRunner makeAndroidTestRunner() {
    return new AndroidTestRunner();
}