Searched refs:testResult (Results 1 – 4 of 4) sorted by relevance
/platform_testing/libraries/compatibility-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 …]
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
D | DeviceCollectorsTest.java | 187 for (Entry<TestDescription, TestResult> testResult : result.getTestResults().entrySet()) { in testBaseListenerRuns_withIncludeFilters() 190 if ("testReportMetrics".equals(testResult.getKey().getTestName())) { in testBaseListenerRuns_withIncludeFilters() 191 assertTrue(testResult.getValue().getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeFilters() 192 assertTrue(testResult.getValue().getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeFilters() 194 assertFalse(testResult.getValue().getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeFilters() 195 assertFalse(testResult.getValue().getMetrics().containsKey("test_fail")); in testBaseListenerRuns_withIncludeFilters() 196 assertFalse(testResult.getValue().getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeFilters() 257 for (Entry<TestDescription, TestResult> testResult : result.getTestResults().entrySet()) { in testLogOnly() 258 assertTrue(testResult.getValue().getMetrics().isEmpty()); in testLogOnly()
|
/platform_testing/libraries/compatibility-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()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | DexTestRunner.java | 105 public synchronized void runTest(final TestResult testResult) { in runTest() argument 106 mTestResult = testResult; in runTest() 128 testCase.run(testResult); in runTest() 129 return testResult; in runTest()
|