Home
last modified time | relevance | path

Searched refs:lightResult (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DLightInvocationResultTest.java45 LightInvocationResult lightResult = new LightInvocationResult(fullResult); in testLightInvocationResultInstatiate() local
48 ResultHandlerTest.checkLightResult(lightResult); in testLightInvocationResultInstatiate()
DResultHandlerTest.java421 IInvocationResult lightResult = lightResults.get(0); in testGetLightResults() local
422 checkLightResult(lightResult); in testGetLightResults()
496 static void checkLightResult(IInvocationResult lightResult) throws Exception { in checkLightResult() argument
497 assertEquals("Expected 3 passes", 3, lightResult.countResults(TestStatus.PASS)); in checkLightResult()
498 assertEquals("Expected 1 failure", 1, lightResult.countResults(TestStatus.FAIL)); in checkLightResult()
500 Map<String, String> buildInfo = lightResult.getInvocationInfo(); in checkLightResult()
505 Set<String> serials = lightResult.getDeviceSerials(); in checkLightResult()
510 assertEquals("Incorrect start time", START_MS, lightResult.getStartTime()); in checkLightResult()
511 assertEquals("Incorrect test plan", SUITE_PLAN, lightResult.getTestPlan()); in checkLightResult()
512 List<IModuleResult> modules = lightResult.getModules(); in checkLightResult()
[all …]