Home
last modified time | relevance | path

Searched refs:InstrumentationTarget (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DListInstrumentationParserTest.java19 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
61 List<InstrumentationTarget> targets = mParser.getInstrumentationTargets(); in testEmptyParse()
78 InstrumentationTarget target1 = new InstrumentationTarget( in testSimpleParse()
80 InstrumentationTarget target2 = new InstrumentationTarget( in testSimpleParse()
82 InstrumentationTarget target3 = new InstrumentationTarget( in testSimpleParse()
86 List<InstrumentationTarget> expectedTargets = Lists.newArrayList(target1, target3, target2); in testSimpleParse()
89 List<InstrumentationTarget> parsedTargets = mParser.getInstrumentationTargets(); in testSimpleParse()
100 private void validateInstrumentationTargets(List<InstrumentationTarget> expectedTargets, in validateInstrumentationTargets()
101 List<InstrumentationTarget> actualTargets) { in validateInstrumentationTargets()
107 for (InstrumentationTarget actualTarget : actualTargets) { in validateInstrumentationTargets()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java49 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
251 doReturn(ImmutableList.of(new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "")))
283 ImmutableList<InstrumentationTarget> targets =
285 new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, ""),
286 new InstrumentationTarget(PACKAGE_NAME2, RUNNER_NAME1, ""),
287 new InstrumentationTarget(PACKAGE_NAME3, RUNNER_NAME1, ""));
323 doReturn(ImmutableList.of(new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "")))
362 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
401 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
434 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
[all …]
DInstrumentationTestTest.java44 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
113 InstrumentationTarget target1 = in setUp()
114 new InstrumentationTarget(TEST_PACKAGE_VALUE, "runner1", "target1"); in setUp()
115 InstrumentationTarget target2 = new InstrumentationTarget("package2", "runner2", "target2"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DListInstrumentationParser.java50 private List<InstrumentationTarget> mInstrumentationTargets = new ArrayList<>();
52 public static class InstrumentationTarget implements Comparable<InstrumentationTarget> { class in ListInstrumentationParser
57 public InstrumentationTarget(String packageName, String runnerName, String targetName) { in InstrumentationTarget() method in ListInstrumentationParser.InstrumentationTarget
68 if (object instanceof InstrumentationTarget) { in equals()
69 InstrumentationTarget that = (InstrumentationTarget)object; in equals()
89 public int compareTo(InstrumentationTarget o) { in compareTo()
115 public List<InstrumentationTarget> getInstrumentationTargets() { in getInstrumentationTargets()
137 new InstrumentationTarget(m.group(1), m.group(2), m.group(3))); in processNewLines()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageTestBase.java40 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
198 Collection<InstrumentationTarget> instrumentationTargets = getInstrumentationTargets(); in run()
204 for (InstrumentationTarget target : instrumentationTargets) { in run()
301 Set<InstrumentationTarget> getInstrumentationTargets() in getInstrumentationTargets()
304 Set<InstrumentationTarget> ret = new HashSet<>(); in getInstrumentationTargets()
311 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in getInstrumentationTargets()
324 boolean doesRunnerSupportSharding(InstrumentationTarget target) in doesRunnerSupportSharding()
331 Collection<TestDescription> collectTests(InstrumentationTarget target) in collectTests()
338 InstrumentationTarget target, int shardIndex, int numShards) in collectTests()
358 IRemoteAndroidTestRunner createTestRunner(InstrumentationTarget target, in createTestRunner()
[all …]
DInstalledInstrumentationsTest.java33 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
272 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in buildTests()
DInstrumentationTest.java48 import com.android.tradefed.util.ListInstrumentationParser.InstrumentationTarget;
691 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in queryRunnerName()