Searched refs:TestOption (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 36 private List<TestOption> mOptions = new ArrayList<TestOption>(); 61 public void addOption(TestOption option) { in addOption() 66 public List<TestOption> getOptions() { in getOptions() 139 List<TestOption> mergedOptions = new ArrayList<>(); in merge() 156 Set<TestOption> commonOptions = new HashSet<TestOption>(test.getOptions()); in merge() 157 commonOptions.retainAll(new HashSet<TestOption>(mOptions)); in merge() 158 mOptions = new ArrayList<TestOption>(commonOptions); in merge() 194 Set<TestOption> nonExclusiveOptions = in merge() 202 Set<TestOption> includeAnnotationOptions = in merge() 206 Set<TestOption> exclusiveOptions = in merge() [all …]
|
D | TestOption.java | 19 public class TestOption implements Comparable<TestOption> { class 25 public TestOption(String name, String value) { in TestOption() method in TestOption 40 public int compareTo(TestOption option) { in compareTo() 89 return mName.equals(((TestOption) obj).getName()) in equals() 90 && mValue.equals(((TestOption) obj).getValue()); in equals()
|
D | TestMapping.java | 180 TestOption option = new TestOption(name, value); in getTestCollection()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 131 TestOption testOption = in testparseTestMapping() 132 new TestOption( in testparseTestMapping() 136 Set<TestOption> testOptions = new HashSet<TestOption>(); in testparseTestMapping() 158 testOptions = new HashSet<TestOption>(); in testparseTestMapping() 448 test2.addOption(new TestOption("include-filter", "value")); in testMergeSuccess() 455 test1.addOption(new TestOption("include-filter", "value")); in testMergeSuccess() 462 test1.addOption(new TestOption("include-filter", "value")); in testMergeSuccess() 477 TestOption option1 = new TestOption("include-filter", "value1"); in testMergeSuccess_2Filters() 479 TestOption option2 = new TestOption("include-filter", "value2"); in testMergeSuccess_2Filters() 483 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option1)); in testMergeSuccess_2Filters() [all …]
|
D | TestInfoTest.java | 38 info.addOption(new TestOption("option2", "value2")); in testAddOption() 39 info.addOption(new TestOption("option1", "value1")); in testAddOption()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunner.java | 34 import com.android.tradefed.util.testmapping.TestOption; 403 for (TestOption option : testInfo.getOptions()) { in parseOptions() 491 List<TestOption> copyOptions = new ArrayList<>(a.getOptions()); in createComparableNames()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 54 import com.android.tradefed.util.testmapping.TestOption; 783 anotherInfo.addOption(new TestOption("include-filter", "value1")); in testDedupTestInfos() 789 anotherInfo2.addOption(new TestOption("include-filter", "value1")); in testDedupTestInfos() 791 anotherInfo3.addOption(new TestOption("include-filter", "value1")); in testDedupTestInfos() 860 info.addOption(new TestOption("include-filter", "include-filter")); in testCreateIndividualTestsWithDifferentTestOptions() 884 info.addOption(new TestOption("include-filter", "include-filter")); in testCreateIndividualTestsWithExcludeFilterFromTFCommandLine() 1452 info.addOption(new TestOption("include-filter", name)); in createTestInfo() 1453 info.addOption(new TestOption("exclude-filter", name)); in createTestInfo() 1454 info.addOption(new TestOption("other", name)); in createTestInfo()
|
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/ |
D | TestMappingsValidation.java | 43 import com.android.tradefed.util.testmapping.TestOption; 518 for (TestOption options : test.getOptions()) { in validateFilterOption() 559 for (TestOption options : test.getOptions()) { in getDetailedErrors()
|