/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation() local 53 assertTrue("Expected test result", mResult.getResults().contains(testResult)); in testResultCreation() 56 assertEquals("Expected the same result", testResult, testResult2); in testResultCreation() 61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting() local 62 testResult.failed(STACK_TRACE); in testResultReporting() 63 assertEquals("Expected status to be set", TestStatus.FAIL, testResult.getResultStatus()); in testResultReporting() 64 assertEquals("Expected message to be set", MESSAGE, testResult.getMessage()); in testResultReporting() 65 assertEquals("Expected stack to be set", STACK_TRACE, testResult.getStackTrace()); in testResultReporting() 66 testResult = mResult.getOrCreateResult(METHOD_2); in testResultReporting() 67 testResult.passed(null); in testResultReporting() [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | GeeTestResultParser.java | 484 TestResult testResult = getCurrentTestResult(); in processTestStartedTag() local 485 testResult.mTestClass = parsedResults.mTestClassName; in processTestStartedTag() 486 testResult.mTestName = parsedResults.mTestName; in processTestStartedTag() 488 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in processTestStartedTag() 489 testResult.mTestName); in processTestStartedTag() 507 TestResult testResult = getCurrentTestResult(); in doTestEnded() local 508 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, in doTestEnded() 509 testResult.mTestName); in doTestEnded() 520 testResult.mRunTime = new Long(parsedResults.mTestRunTime); in doTestEnded() 530 if (!testResult.isComplete()) { in doTestEnded() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SensorPowerTestActivity.java | 98 PowerTestHostLink.PowerTestResult testResult = mHostLink.run(); in testSensorsPower() local 103 testResult.passedCount, in testSensorsPower() 104 testResult.skippedCount, in testSensorsPower() 105 testResult.failedCount); in testSensorsPower() 106 Assert.assertEquals(testDetails.getSummary(), 0, testResult.failedCount); in testSensorsPower()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | GnssCtsTestSuite.java | 42 public void run(TestResult testResult) { in run() argument 43 mWrappedTestSuite.run(new GnssCtsTestResult(mContext, testResult)); in run() 62 public void runTest(Test test, TestResult testResult) { in runTest() argument 63 mWrappedTestSuite.runTest(test, testResult); in runTest()
|
D | GnssCtsTestResult.java | 44 public GnssCtsTestResult(Context context, TestResult testResult) { in GnssCtsTestResult() argument 46 mWrappedTestResult = testResult; in GnssCtsTestResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestSuite.java | 42 public void run(TestResult testResult) { in run() argument 43 mWrappedTestSuite.run(new SensorCtsTestResult(mContext, testResult)); in run() 62 public void runTest(Test test, TestResult testResult) { in runTest() argument 63 mWrappedTestSuite.runTest(test, testResult); in runTest()
|
D | SensorCtsTestResult.java | 46 public SensorCtsTestResult(Context context, TestResult testResult) { in SensorCtsTestResult() argument 48 mWrappedTestResult = testResult; in SensorCtsTestResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 71 private static Intent createResult(Activity activity, int testResult, String testName, in createResult() argument 74 addResultData(data, testResult, testName, testDetails, reportLog); in createResult() 78 public static void addResultData(Intent intent, int testResult, String testName, in addResultData() argument 81 intent.putExtra(TEST_RESULT, testResult); in addResultData()
|
D | TestListAdapter.java | 177 public void setTestResult(TestResult testResult) { in setTestResult() argument 178 new SetTestResultTask(testResult.getName(), testResult.getResult(), in setTestResult() 179 testResult.getDetails(), testResult.getReportLog()).execute(); in setTestResult() 244 int testResult = cursor.getInt(2); in getRefreshResults() local 247 results.put(testName, testResult); in getRefreshResults() 394 int testResult = getTestResult(position); in getView() local 399 switch (testResult) { in getView() 414 throw new IllegalArgumentException("Unknown test result: " + testResult); in getView()
|
D | AbstractTestListActivity.java | 76 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() local 77 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
|
D | TestResultsReport.java | 151 private String getTestResultString(int testResult) { in getTestResultString() argument 152 switch (testResult) { in getTestResultString() 163 throw new IllegalArgumentException("Unknown test result: " + testResult); in getTestResultString()
|
D | TestResultsProvider.java | 228 static void setTestResult(Context context, String testName, int testResult, in setTestResult() argument 231 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 116 boolean testResult = true; in doTestVideoPlayback() 133 testResult = false; in doTestVideoPlayback() 146 assertTrue("playback " + mediaName, testResult); in doTestVideoPlayback()
|
/cts/tools/utils/ |
D | rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 97 testResult = doc.getElementsByTagName("TestResult")[0] 98 buildInfos = testResult.getElementsByTagName("BuildInfo") 113 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 284 TestResult testResult = testEntry.getValue(); in printTestResult() local 285 CLog.d("Test " + testEntry.getKey() + ": " + testResult.getStatus()); in printTestResult() 286 if (testResult.getStatus() != TestStatus.PASSED) { in printTestResult() 287 CLog.d(testResult.getStackTrace()); in printTestResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 245 String testResult = request.substring(REQUEST_SET_TEST_RESULT.length()); in processClientRequest() local 246 response = handleSetTestResultCmd(testResult); in processClientRequest()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | CompatibilityTest.java | 560 for (ITestResult testResult : testResultList.getResults(TestStatus.PASS)) { in setupFilters() 563 module.getAbi(), module.getName(), testResult.getFullName()); in setupFilters()
|