Searched refs:TestResult (Results 1 – 13 of 13) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 31 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()
|
D | NNCrashTestActivity.java | 66 public CrashTestStatus.TestResult testResult() { in testResult() 73 return CrashTestStatus.TestResult.HANG; in testResult() 78 return CrashTestStatus.TestResult.HANG; in testResult()
|
D | NNPerformanceDegradationTest.java | 84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold() 85 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotDegradePerformanceOverThreshold()
|
D | NNParallelInferenceTest.java | 92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads() 93 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotFailWithParallelThreads()
|
D | NNParallelTestActivity.java | 20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG; 133 public CrashTestStatus.TestResult testResult() { in testResult()
|
D | NNClientEarlyTerminationTest.java | 118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads() 122 CrashTestStatus.TestResult.CRASH, in testDriverDoesNotFailWithParallelThreads()
|
D | NNMultipleProcessTest.java | 19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
|
D | NNRandomGraphTest.java | 19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
|
D | NNMemoryMappedModelCompilationTest.java | 111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
|
/test/vts/runners/target/gtest/ |
D | gtest_main.cpp | 142 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/vts/runners/host/ |
D | records.py | 217 class TestResult(object): class 259 if not isinstance(r, TestResult): 263 sum_result = TestResult()
|
D | test_runner.py | 189 self.results = records.TestResult()
|
D | base_test.py | 139 self.results = records.TestResult()
|