/test/suite_harness/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 …]
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 52 private void handleCompletionNotification(TestResult testResult, in handleCompletionNotification() argument 56 testResult, in handleCompletionNotification() 58 if (mTestResult.compareAndSet(null, testResult)) { in handleCompletionNotification() 61 String.format("Test completed with result %s and msg: %s.\n", testResult, in handleCompletionNotification() 64 … mDisplayMessages.accept(String.format("Test completed with result %s\n", testResult)); in handleCompletionNotification()
|
D | NNPerformanceDegradationTest.java | 84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold() local 86 testResult); in shouldNotDegradePerformanceOverThreshold()
|
D | NNParallelInferenceTest.java | 92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads() local 94 testResult); in shouldNotFailWithParallelThreads()
|
D | NNClientEarlyTerminationTest.java | 118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads() local 123 testResult); in testDriverDoesNotFailWithParallelThreads()
|
D | NNCrashTestActivity.java | 66 public CrashTestStatus.TestResult testResult() { in testResult() method in NNCrashTestActivity
|
D | NNMultipleProcessTest.java | 104 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNRandomGraphTest.java | 113 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNMemoryMappedModelCompilationTest.java | 111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
|
D | NNParallelTestActivity.java | 137 public CrashTestStatus.TestResult testResult() { in testResult() method in NNParallelTestActivity
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ChecksumReporter.java | 148 for (ITestResult testResult : caseResult.getResults()) { in addInvocation() 149 addTestResult(testResult, module, buildFingerprint); in addInvocation() 215 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in addTestResult() argument 217 String signature = generateTestResultSignature(testResult, moduleResult, buildFingerprint); in addTestResult() 223 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in containsTestResult() argument 225 String signature = generateTestResultSignature(testResult, moduleResult, buildFingerprint); in containsTestResult() 273 static String generateTestResultSignature(ITestResult testResult, IModuleResult module, in generateTestResultSignature() argument 276 String stacktrace = testResult.getStackTrace(); in generateTestResultSignature() 284 .append(testResult.getFullName()).append(SEPARATOR) in generateTestResultSignature() 285 .append(testResult.getResultStatus().getValue()).append(SEPARATOR) in generateTestResultSignature()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | CrashTestService.java | 114 final Optional<String> testResult = crashTest.call(); in onBind() local 116 testResult.orElse("success"))); in onBind() 117 notify(testResult.isPresent() ? FAILURE : SUCCESS, testResult.orElse(null)); in onBind()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationChecksumHelper.java | 188 Entry<TestDescription, TestResult> testResult, TestRunResult moduleResult, in containsTestResult() argument 190 String signature = generateTestResultSignature(testResult, moduleResult, buildFingerprint); in containsTestResult() 214 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature() argument 217 String stacktrace = testResult.getValue().getStackTrace(); in generateTestResultSignature() 225 .append(testResult.getKey().toString()).append(SEPARATOR) in generateTestResultSignature() 226 .append(testResult.getValue().getStatus()).append(SEPARATOR) in generateTestResultSignature()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | SubPlanHelper.java | 242 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan() 243 if (!statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan() 245 module.getName(), testResult.getFullName()); in createSubPlan() 254 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan() 255 if (statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan() 257 module.getName(), testResult.getFullName()); in createSubPlan()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInMultipleProcesses.java | 156 int testResult = multiProcessTest.waitFor(); in call() local 157 Log.i(TAG, String.format("Test process returned %d", testResult)); in call() 158 if (testResult == 0) { in call() 161 return failure(String.format("Test failed with return code %d", testResult)); in call()
|
D | RunModelsInParallel.java | 186 testResult -> !testResult).count(); in completedSuccessfully()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
D | PreviousResultLoaderTest.java | 223 File testResult = new File(new CompatibilityBuildHelper(build).getResultDir(), in createFakeBuild() local 225 testResult.createNewFile(); in createFakeBuild() 240 FileUtil.writeToFile(resultContent, testResult); in createFakeBuild()
|