/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 27 private static final String METHOD_1 = "testBlah1"; field in CaseResultTest 50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation() 55 ITestResult testResult2 = mResult.getOrCreateResult(METHOD_1); in testResultCreation() 61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting() 73 mResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testCountResults() 81 mResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testMergeCase() 86 otherResult.getOrCreateResult(METHOD_1).passed(null); in testMergeCase() 97 mResult.getOrCreateResult(METHOD_1).passed(null); in testMergeCase_passToFail() 101 otherResult.getOrCreateResult(METHOD_1).passed(null); in testMergeCase_passToFail()
|
D | TestResultTest.java | 27 private static final String METHOD_1 = "testBlah1"; field in TestResultTest 28 private static final String TEST_1 = String.format("%s#%s", CLASS, METHOD_1); 35 mResult = new TestResult(mCase, METHOD_1); in setUp() 44 assertEquals("Incorrect test name", METHOD_1, mResult.getName()); in testAccessors()
|
D | ResultHandlerTest.java | 90 private static final String METHOD_1 = "testBlah1"; field in ResultHandlerTest 217 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization() 297 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() 432 String moduleATest = String.format(XML_TEST_PASS, METHOD_1); in writeResultDir() 550 assertEquals("Incorrect name", METHOD_1, moduleATest1.getName()); in checkResult()
|
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
D | BusinessLogicHostExecutorTest.java | 50 private static final String METHOD_1 = THIS_CLASS + ".method1"; field in BusinessLogicHostExecutorTest 88 mExecutor.invokeMethod(METHOD_1); in testInvokeMethodInThisClass() 90 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeMethodInThisClass() 167 mExecutor.invokeMethod(METHOD_1, ARG_STRING_1); in testInvokeOverloadedMethodOneArg() 168 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeOverloadedMethodOneArg() 175 mExecutor.invokeMethod(METHOD_1, ARG_STRING_1, ARG_STRING_2); in testInvokeOverloadedMethodTwoArgs() 176 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeOverloadedMethodTwoArgs() 212 mExecutor.executeCondition(METHOD_1); // method1 does not return type boolean in testExecuteInvalidCondition() 242 mInvoked = METHOD_1; in method1() 247 mInvoked = METHOD_1; in method1() [all …]
|
D | ModuleResultTest.java | 35 private static final String METHOD_1 = "testBlah1"; field in ModuleResultTest 71 testCase.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testCountResults() 80 caseResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testMergeModule() 84 caseResult2.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testMergeModule() 94 otherCaseResult.getOrCreateResult(METHOD_1).passed(null); in testMergeModule()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | SubPlanHelperTest.java | 63 private static final String METHOD_1 = "testBlah1"; field in SubPlanHelperTest 119 TestFilter tf1 = new TestFilter(ABI, NAME_A, String.format("%s#%s", CLASS_A, METHOD_1)); in testCreateSubPlan() 129 TestFilter tf = new TestFilter(ABI, NAME_A, String.format("%s#%s", CLASS_A, METHOD_1)); in testAddInclude() 137 TestFilter tf = new TestFilter(ABI, NAME_A, String.format("%s#%s", CLASS_A, METHOD_1)); in testAddExclude() 146 String.format("%s#%s%s", CLASS_A, METHOD_1, PARAM_SUFFIX)); in testAddParameterizedInclude() 148 String.format("%s#%s", CLASS_A, METHOD_1)); in testAddParameterizedInclude() 157 String.format("%s#%s%s", CLASS_A, METHOD_1, PARAM_SUFFIX)); in testAddParameterizedExclude() 175 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in populateResults()
|
D | ResultReporterTest.java | 63 private static final String METHOD_1 = "testBlah1"; field in ResultReporterTest 66 private static final String TEST_1 = String.format("%s#%s", CLASS, METHOD_1); 147 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in testResultReporting() 172 ITestResult result1 = caseResult.getResult(METHOD_1); in testResultReporting() 202 String[] methods = new String[] {METHOD_1, METHOD_2, METHOD_3}; in testRepeatedExecutions() 228 ITestResult result1 = caseResult.getResult(METHOD_1); in testRepeatedExecutions() 257 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetry() 266 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in testRetry() 291 ITestResult finalTestResult1 = case1.getResult(METHOD_1); in testRetry() 314 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetryCanSetDone() [all …]
|
D | ConsoleReporterTest.java | 49 private static final String METHOD_1 = "testBlah1"; field in ConsoleReporterTest 109 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in runTests()
|
D | MetadataReporterTest.java | 51 private static final String METHOD_1 = "testBlah1"; field in MetadataReporterTest 119 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in runTests()
|