Searched refs:getArgs (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 608 assertEquals("foo", cmds.get(0).getArgs()[0]); in testAddCommandFile() 609 assertEquals("--bar", cmds.get(0).getArgs()[1]); in testAddCommandFile() 656 Assert.assertArrayEquals(addCommandArgs, cmds.get(0).getArgs()); in testAddCommandFile_reload() 657 Assert.assertArrayEquals(cmdFile1Args, cmds.get(1).getArgs()); in testAddCommandFile_reload() 665 Assert.assertArrayEquals(addCommandArgs, cmds.get(0).getArgs()); in testAddCommandFile_reload() 666 Assert.assertArrayEquals(cmdFile2Args, cmds.get(1).getArgs()); in testAddCommandFile_reload() 696 Assert.assertArrayEquals(cmdFile1Args, cmds.get(0).getArgs()); in testAddCommandFile_twice() 705 Assert.assertArrayEquals(cmdFile1Args, cmds.get(0).getArgs()); in testAddCommandFile_twice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 197 assertThat(runner.getArgs()).containsEntry("class", "'" + className + "'"); in testRun_class() 211 assertThat(runner.getArgs()).containsEntry("class", "'FooTest#testFoo'"); in testRun_classMethod() 223 assertThat(runner.getArgs()).containsEntry("package", testPackageName); in testRun_testPackage() 235 assertThat(runner.getArgs()).containsEntry("class", "'" + testClassName + "'"); in testRun_testPackageAndClass() 236 assertThat(runner.getArgs()).doesNotContainKey("package"); in testRun_testPackageAndClass() 781 Map<String, String> getArgs() { in getArgs() method in InstrumentationTestTest.FakeTestRunner
|
D | CodeCoverageTestBaseTest.java | 777 assertThat(runner.getArgs()).containsExactlyEntriesIn(args); 792 assertThat(runner.getArgs()).containsEntry("shardIndex", Integer.toString(shardIndex)); 793 assertThat(runner.getArgs()).containsEntry("numShards", Integer.toString(numShards)); 872 Map<String, String> getArgs() { 878 int shardIndex = Integer.parseInt(getArgs().getOrDefault("shardIndex", "0")); 879 int numShards = Integer.parseInt(getArgs().getOrDefault("numShards", "1")); 902 if (getArgs().getOrDefault("coverage", "false").equals("true")) {
|