Make LaunchPerformanceBase and UnitTestSuiteBuilder as APIs
Those two classes are used by many tests using android.test.runner. Making them as public APIs so that those tests can depend on the public stub of android.test.runner and stop depending on its implementation library. Bug: 157007292 Test: m Change-Id: I33b458f34ffd4c73430f538a85aac308baa6e010
This commit is contained in:
@@ -23,12 +23,11 @@ import android.os.Bundle;
|
||||
|
||||
/**
|
||||
* Base class for all launch performance Instrumentation classes.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@Deprecated
|
||||
public class LaunchPerformanceBase extends Instrumentation {
|
||||
|
||||
/** @hide */
|
||||
public static final String LOG_TAG = "Launch Performance";
|
||||
|
||||
protected Bundle mResults;
|
||||
@@ -43,8 +42,6 @@ public class LaunchPerformanceBase extends Instrumentation {
|
||||
|
||||
/**
|
||||
* Launches intent, and waits for idle before returning.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
protected void LaunchApp() {
|
||||
startActivitySync(mIntent);
|
||||
|
||||
@@ -19,8 +19,9 @@ package android.test.suitebuilder;
|
||||
/**
|
||||
* A suite builder that finds unit tests.
|
||||
*
|
||||
* {@hide} Not needed for 1.0 SDK.
|
||||
* @deprecated android.test.runner is obsolete
|
||||
*/
|
||||
@Deprecated
|
||||
public class UnitTestSuiteBuilder extends TestSuiteBuilder {
|
||||
|
||||
public UnitTestSuiteBuilder(Class clazz) {
|
||||
|
||||
Reference in New Issue
Block a user