diff options
| author | 2017-06-20 14:41:20 +0100 | |
|---|---|---|
| committer | 2017-06-20 15:02:38 +0100 | |
| commit | 575f9da647c2006d3e895adb2c418b51e50d3d63 (patch) | |
| tree | 39b7eff77e5d97c348f4075828a84f30d7c4671b | |
| parent | 48bc4c1f420d8f60c4d83d0ded4be0f37a37dd22 (diff) | |
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
| -rw-r--r-- | test-runner/src/android/test/InstrumentationTestRunner.java | 14 |
1 files 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 <code>null</code> */ @@ -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 <code>null</code> */ |