Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DCrashTestStatus.java31 public static enum TestResult { enum in CrashTestStatus
43 private final AtomicReference<TestResult>
52 private void handleCompletionNotification(TestResult testResult, in handleCompletionNotification()
77 handleCompletionNotification(TestResult.CRASH, null); in testCrashed()
82 handleCompletionNotification(TestResult.SUCCESS, null); in testSucceeded()
87 handleCompletionNotification(TestResult.FAILURE, reason); in testFailed()
103 public boolean compareAndSetResult(TestResult expect, TestResult update) { in compareAndSetResult()
107 public TestResult result() { in result()
DNNCrashTestActivity.java66 public CrashTestStatus.TestResult testResult() { in testResult()
73 return CrashTestStatus.TestResult.HANG; in testResult()
78 return CrashTestStatus.TestResult.HANG; in testResult()
DNNPerformanceDegradationTest.java84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold()
85 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotDegradePerformanceOverThreshold()
DNNParallelInferenceTest.java92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads()
93 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotFailWithParallelThreads()
DNNClientEarlyTerminationTest.java118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads()
122 CrashTestStatus.TestResult.CRASH, in testDriverDoesNotFailWithParallelThreads()
DNNParallelTestActivity.java20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG;
137 public CrashTestStatus.TestResult testResult() { in testResult()
DNNMultipleProcessTest.java19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
DNNRandomGraphTest.java19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
DNNMemoryMappedModelCompilationTest.java111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DTestResultTest.java30 private TestResult mResult;
35 mResult = new TestResult(mCase, METHOD_1); in setUp()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelperTest.java24 import com.android.tradefed.result.TestResult;
82 for (Entry<TestDescription, TestResult> entry : run1.getTestResults().entrySet()) { in testCreateChecksum()
86 for (Entry<TestDescription, TestResult> entry : run2.getTestResults().entrySet()) { in testCreateChecksum()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java19 import com.android.ddmlib.testrunner.TestResult.TestStatus;
21 import com.android.tradefed.result.TestResult;
175 for (Entry<TestDescription, TestResult> caseResult in addResults()
188 Entry<TestDescription, TestResult> testResult, TestRunResult moduleResult, in containsTestResult()
214 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstrumentationPreparer.java20 import com.android.ddmlib.testrunner.TestResult.TestStatus;
31 import com.android.tradefed.result.TestResult;
138 for (Entry<TestDescription, TestResult> results : result.getTestResults().entrySet()) { in instrument()
/test/vts/runners/target/gtest/
Dgtest_main.cpp142 enum TestResult { TEST_SUCCESS = 0, TEST_FAILED, TEST_TIMEOUT }; enum
151 void SetResult(TestResult result) { result_ = result; } in SetResult()
153 TestResult GetResult() const { return result_; } in GetResult()
167 TestResult result_;
200 void SetTestResult(size_t test_id, TestResult result) { in SetTestResult()
205 TestResult GetTestResult(size_t test_id) const { in GetTestResult()
346 TestResult result = testcase.GetTestResult(test_id); in OnTestEndPrint()
375 TestResult result = testcase.GetTestResult(i); in OnTestIterationEndPrint()
810 static TestResult WaitForOneChild(pid_t pid) { in WaitForOneChild()
814 TestResult test_result = TEST_SUCCESS; in WaitForOneChild()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DTestResult.java23 public class TestResult implements ITestResult { class
41 public TestResult(ICaseResult parent, String name) { in TestResult() method in TestResult
DCaseResult.java55 result = new TestResult(this, testName); in getOrCreateResult()
/test/vts/runners/host/
Drecords.py217 class TestResult(object): class
259 if not isinstance(r, TestResult):
263 sum_result = TestResult()
Dtest_runner.py189 self.results = records.TestResult()
Dbase_test.py139 self.results = records.TestResult()