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
This commit is contained in:
Paul Duffin
2017-06-20 14:41:20 +01:00
parent 48bc4c1f42
commit 575f9da647

View File

@@ -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>
*/