Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 25 of 28) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestSuite.java20 import junit.framework.TestResult;
42 public void run(TestResult testResult) { in run()
62 public void runTest(Test test, TestResult testResult) { in runTest()
DSensorCtsTestResult.java25 import junit.framework.TestResult;
40 class SensorCtsTestResult extends TestResult {
42 private final TestResult mWrappedTestResult;
46 public SensorCtsTestResult(Context context, TestResult testResult) { in SensorCtsTestResult()
DBaseSensorTestActivity.java21 import com.android.cts.verifier.TestResult;
433 TestResult.setPassedResult(this, name, summary); in setTestResult()
436 TestResult.setPassedResult(this, name, summary); in setTestResult()
439 TestResult.setFailedResult(this, name, summary); in setTestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java31 public class TestResult { class
90 static TestResult fromActivityResult(int resultCode, Intent data) { in fromActivityResult()
95 return new TestResult(name, result, details, reportLog); in fromActivityResult()
98 private TestResult( in TestResult() method in TestResult
DAbstractTestListActivity.java76 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult()
DDialogTestListActivity.java114 setTestResult(mTest, TestResult.TEST_RESULT_PASSED); in onPass()
120 setTestResult(mTest, TestResult.TEST_RESULT_FAILED); in onFail()
189 setTestResult(test, TestResult.TEST_RESULT_FAILED); in startTestIntent()
202 TestResult.addResultData(resultIntent, result, test.testName, /* testDetails */ null, in setTestResult()
DTestResultsReport.java153 case TestResult.TEST_RESULT_PASSED: in getTestResultString()
156 case TestResult.TEST_RESULT_FAILED: in getTestResultString()
159 case TestResult.TEST_RESULT_NOT_EXECUTED: in getTestResultString()
DTestListAdapter.java177 public void setTestResult(TestResult testResult) { in setTestResult()
351 : TestResult.TEST_RESULT_NOT_EXECUTED; in getTestResult()
371 || (mTestResults.get(item.testName) != TestResult.TEST_RESULT_PASSED))) { in allTestsPassed()
400 case TestResult.TEST_RESULT_PASSED: in getView()
405 case TestResult.TEST_RESULT_FAILED: in getView()
410 case TestResult.TEST_RESULT_NOT_EXECUTED: in getView()
DPassFailButtons.java419 TestResult.setPassedResult(activity, testId, testDetails, reportLog); in setTestResultAndFinishHelper()
421 TestResult.setFailedResult(activity, testId, testDetails, reportLog); in setTestResultAndFinishHelper()
DTestResultsBackupHelper.java143 TestResult.TEST_RESULT_FAILED, null /*testDetails*/, null /*testMetrics*/); in failBackupTest()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTests.java22 import com.android.ddmlib.testrunner.TestResult;
23 import com.android.ddmlib.testrunner.TestResult.TestStatus;
94 for (Map.Entry<TestIdentifier, TestResult> resultEntry : in runDeviceTests()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DGeeTestResultParser.java96 private TestResult mCurrentTestResult = null;
119 private static class TestResult { class in GeeTestResultParser
238 private TestResult getCurrentTestResult() { in getCurrentTestResult()
240 mCurrentTestResult = new TestResult(); in getCurrentTestResult()
484 TestResult testResult = getCurrentTestResult(); in processTestStartedTag()
507 TestResult testResult = getCurrentTestResult(); in doTestEnded()
597 TestResult testResult = getCurrentTestResult(); in appendTestOutputLine()
DJarHostTest.java39 import junit.framework.TestResult;
191 public void run(TestResult junitResult) { in run()
203 … private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) { in runTest()
235 private TestResult mJunitResult;
237 TestRunnable(Test junitTest, TestResult junitResult) { in TestRunnable()
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DUtils.java22 import com.android.ddmlib.testrunner.TestResult;
23 import com.android.ddmlib.testrunner.TestResult.TestStatus;
92 for (Map.Entry<TestIdentifier, TestResult> resultEntry : in runDeviceTests()
DKeySetHostTest.java24 import com.android.ddmlib.testrunner.TestResult;
25 import com.android.ddmlib.testrunner.TestResult.TestStatus;
121 for (Map.Entry<TestIdentifier, TestResult> resultEntry : in assertDeviceTestsPass()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java36 import com.android.cts.verifier.TestResult;
150 TestResult.TEST_RESULT_PASSED : TestResult.TEST_RESULT_FAILED); in handleStatusUpdate()
461 setTestResult(mProfileOwnerInstalled, TestResult.TEST_RESULT_FAILED); in queryProfileOwner()
487 setTestResult(mIntentFiltersTest, TestResult.TEST_RESULT_FAILED); in checkIntentFilters()
505 intentFiltersSet ? TestResult.TEST_RESULT_PASSED : TestResult.TEST_RESULT_FAILED); in handleIntentFiltersStatus()
DDeviceOwnerPositiveTestActivity.java40 import com.android.cts.verifier.TestResult;
303 TestResult.setPassedResult(this, intent.getStringExtra(EXTRA_TEST_ID), in onCreate()
306 TestResult.setFailedResult(this, intent.getStringExtra(EXTRA_TEST_ID), in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java24 import com.android.cts.verifier.TestResult;
88 TestResult.setPassedResult(this, "manualSample", "manualDetails", reportLog); in recordMetricsExample()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DCarDockTestActivity.java33 import com.android.cts.verifier.TestResult;
60 TestResult.setPassedResult(CarDockTestActivity.this, getTestId(), in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java34 import com.android.cts.verifier.TestResult;
400 TestResult.setPassedResult(this, "CameraIntentsActivity", in onClick()
404 TestResult.setFailedResult(this, "CameraIntentsActivity", in onClick()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java24 import com.android.ddmlib.testrunner.TestResult;
25 import com.android.ddmlib.testrunner.TestResult.TestStatus;
251 for (Map.Entry<TestIdentifier, TestResult> testEntry : in printTestResult()
253 TestResult testResult = testEntry.getValue(); in printTestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java21 import com.android.cts.verifier.TestResult;
348 TestResult.setFailedResult(MessageTestActivity.this, getTestId(), null); in showPairingErrorDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java37 import com.android.cts.verifier.TestResult;
348 TestResult.setPassedResult(this, "CameraOrientationActivity", in onClick()
352 TestResult.setFailedResult(this, "CameraOrientationActivity", in onClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java47 import com.android.cts.verifier.TestResult;
327 TestResult.setPassedResult(this, getClass().getName(), in onActivityResult()
330 TestResult.setFailedResult(this, getClass().getName(), in onActivityResult()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java24 import junit.framework.TestResult;
150 protected TestResult createTestResult() { in compose()
151 return new TestResult() { in compose()

12