Loading test-runner/src/android/test/InstrumentationTestRunner.java +12 −0 Original line number Diff line number Diff line Loading @@ -279,6 +279,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu private static final String LOG_TAG = "InstrumentationTestRunner"; private final Bundle mResults = new Bundle(); private Bundle mArguments; private AndroidTestRunner mTestRunner; private boolean mDebug; private boolean mJustCount; Loading @@ -292,6 +293,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu @Override public void onCreate(Bundle arguments) { super.onCreate(arguments); mArguments = arguments; // Apk paths used to search for test classes when using TestSuiteBuilders. String[] apkPaths = Loading Loading @@ -379,6 +381,16 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu start(); } /** * Get the Bundle object that contains the arguments * * @return the Bundle object * @hide */ public Bundle getBundle(){ return mArguments; } List<Predicate<TestMethod>> getBuilderRequirements() { return new ArrayList<Predicate<TestMethod>>(); } Loading Loading
test-runner/src/android/test/InstrumentationTestRunner.java +12 −0 Original line number Diff line number Diff line Loading @@ -279,6 +279,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu private static final String LOG_TAG = "InstrumentationTestRunner"; private final Bundle mResults = new Bundle(); private Bundle mArguments; private AndroidTestRunner mTestRunner; private boolean mDebug; private boolean mJustCount; Loading @@ -292,6 +293,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu @Override public void onCreate(Bundle arguments) { super.onCreate(arguments); mArguments = arguments; // Apk paths used to search for test classes when using TestSuiteBuilders. String[] apkPaths = Loading Loading @@ -379,6 +381,16 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu start(); } /** * Get the Bundle object that contains the arguments * * @return the Bundle object * @hide */ public Bundle getBundle(){ return mArguments; } List<Predicate<TestMethod>> getBuilderRequirements() { return new ArrayList<Predicate<TestMethod>>(); } Loading