Home
last modified time | relevance | path

Searched refs:METHOD_1 (Results 1 – 9 of 9) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCaseResultTest.java27 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()
DTestResultTest.java27 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()
DResultHandlerTest.java90 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/
DBusinessLogicHostExecutorTest.java50 private static final String METHOD_1 = THIS_CLASS + ".method1"; field in BusinessLogicHostExecutorTest
86 mExecutor.invokeMethod(METHOD_1); in testInvokeMethodInThisClass()
88 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeMethodInThisClass()
165 mExecutor.invokeMethod(METHOD_1, ARG_STRING_1); in testInvokeOverloadedMethodOneArg()
166 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeOverloadedMethodOneArg()
173 mExecutor.invokeMethod(METHOD_1, ARG_STRING_1, ARG_STRING_2); in testInvokeOverloadedMethodTwoArgs()
174 assertEquals("Failed to invoke method in this class", mInvoked, METHOD_1); in testInvokeOverloadedMethodTwoArgs()
210 mExecutor.executeCondition(METHOD_1); // method1 does not return type boolean in testExecuteInvalidCondition()
240 mInvoked = METHOD_1; in method1()
245 mInvoked = METHOD_1; in method1()
[all …]
DModuleResultTest.java35 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/
DSubPlanHelperTest.java63 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()
DResultReporterTest.java63 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 …]
DConsoleReporterTest.java49 private static final String METHOD_1 = "testBlah1"; field in ConsoleReporterTest
109 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in runTests()
DMetadataReporterTest.java51 private static final String METHOD_1 = "testBlah1"; field in MetadataReporterTest
119 TestDescription test1 = new TestDescription(CLASS, METHOD_1); in runTests()