From 575f9da647c2006d3e895adb2c418b51e50d3d63 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 20 Jun 2017 14:41:20 +0100 Subject: Cleanup a.t.InstrumentationTestRunner ARGUMENT_TEST_CLASS, ARGUMENT_TEST_PACKAGE, ARGUMENT_TEST_SIZE_PREDICATE and ARGUMENT_DELAY_MSEC were made package private because they are not part of the API and are only used from within the same package. The JavaDoc comment was changed to a multi-line comment because it is not and should not be associated with any member. Fixed a couple of minor JavaDoc issues. Bug: 30188076 Test: make checkbuild Change-Id: If28460aec2fd0080e0f5346a83abae393b7a9fb2 --- .../src/android/test/InstrumentationTestRunner.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test-runner/src/android/test/InstrumentationTestRunner.java b/test-runner/src/android/test/InstrumentationTestRunner.java index 9bd4c966496d..6e5492bd751c 100644 --- a/test-runner/src/android/test/InstrumentationTestRunner.java +++ b/test-runner/src/android/test/InstrumentationTestRunner.java @@ -178,13 +178,13 @@ import junit.textui.ResultPrinter; public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider { /** @hide */ - public static final String ARGUMENT_TEST_CLASS = "class"; + static final String ARGUMENT_TEST_CLASS = "class"; /** @hide */ - public static final String ARGUMENT_TEST_PACKAGE = "package"; + private static final String ARGUMENT_TEST_PACKAGE = "package"; /** @hide */ - public static final String ARGUMENT_TEST_SIZE_PREDICATE = "size"; + private static final String ARGUMENT_TEST_SIZE_PREDICATE = "size"; /** @hide */ - public static final String ARGUMENT_DELAY_MSEC = "delay_msec"; + static final String ARGUMENT_DELAY_MSEC = "delay_msec"; private static final String SMALL_SUITE = "small"; private static final String MEDIUM_SUITE = "medium"; @@ -208,7 +208,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu */ private static final float MEDIUM_SUITE_MAX_RUNTIME = 1000; - /** + /* * The following keys are used in the status bundle to provide structured reports to * an IInstrumentationWatcher. */ @@ -476,7 +476,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu /** * Returns the test predicate object, corresponding to the annotation class value provided via - * the {@link ARGUMENT_ANNOTATION} argument. + * the {@link #ARGUMENT_ANNOTATION} argument. * * @return the predicate or null */ @@ -490,7 +490,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu /** * Returns the negative test predicate object, corresponding to the annotation class value - * provided via the {@link ARGUMENT_NOT_ANNOTATION} argument. + * provided via the {@link #ARGUMENT_NOT_ANNOTATION} argument. * * @return the predicate or null */ -- cgit v1.2.3-59-g8ed1b