/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestRunEntity.java | 230 Entity testRunEntity = new Entity(this.key); in toEntity() local 231 testRunEntity.setProperty(TEST_NAME, this.testName); in toEntity() 232 testRunEntity.setProperty(TYPE, this.type); in toEntity() 233 testRunEntity.setProperty(START_TIMESTAMP, this.startTimestamp); in toEntity() 234 testRunEntity.setUnindexedProperty(END_TIMESTAMP, this.endTimestamp); in toEntity() 235 testRunEntity.setProperty(TEST_BUILD_ID, this.testBuildId.toLowerCase()); in toEntity() 236 testRunEntity.setProperty(HOST_NAME, this.hostName.toLowerCase()); in toEntity() 237 testRunEntity.setProperty(PASS_COUNT, this.passCount); in toEntity() 238 testRunEntity.setProperty(FAIL_COUNT, this.failCount); in toEntity() 239 testRunEntity.setProperty(HAS_CODE_COVERAGE, this.hasCodeCoverage); in toEntity() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | DatastoreRestServlet.java | 351 TestRunEntity testRunEntity = in insertTestReport() local 364 testRunEntityList.add(testRunEntity); in insertTestReport() 368 testRunEntity.getId(), in insertTestReport() 369 testRunEntity.getKey(), in insertTestReport() 459 for (TestRunEntity testRunEntity : testRunEntityMap.values()) { in insertTestPlanReport() 460 passCount += testRunEntity.getPassCount(); in insertTestPlanReport() 461 failCount += testRunEntity.getFailCount(); in insertTestPlanReport() 462 if (startTimestamp < 0 || testRunEntity.getStartTimestamp() < startTimestamp) { in insertTestPlanReport() 463 startTimestamp = testRunEntity.getStartTimestamp(); in insertTestPlanReport() 465 if (endTimestamp < 0 || testRunEntity.getEndTimestamp() > endTimestamp) { in insertTestPlanReport() [all …]
|
D | TestRunRestServlet.java | 58 TestRunEntity testRunEntity = TestRunEntity.getByTestNameId(test, timestamp); in getTestRunDetails() local 60 return getTestRunDetails(testRunEntity); in getTestRunDetails() 88 private TestRunDetails getTestRunDetails(TestRunEntity testRunEntity) { in getTestRunDetails() argument 91 if ( Objects.isNull(testRunEntity.getTestCaseIds()) ) { in getTestRunDetails() 94 for (long testCaseId : testRunEntity.getTestCaseIds()) { in getTestRunDetails()
|
D | TestDataForDevServlet.java | 506 TestRunEntity testRunEntity = in doPost() 519 datastore.put(testRunEntity.toEntity()); in doPost() 523 testRunEntity.getKey(), in doPost() 559 + testRunEntity.getKey()); in doPost()
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_coverage_overview.jsp | 422 <c:forEach var="testRunEntity" items="${testRunEntityList}" varStatus="loop"> 424 …"<c:out value="${testRunEntity.testName}" />" data-time="<c:out value="${testRunEntity.startTimest… 427 <c:out value="${testRunEntity.testName}" /> 430 <b>VTS Build: </b><c:out value="${testRunEntity.testBuildId}" /> 432 <b>Host: </b><c:out value="${testRunEntity.hostName}" /> 434 …"${testRunEntity.startDateTime}" /> - <c:out value="${testRunEntity.endDateTime}" />+0900 (<c:out … 437 …<c:out value="${testRunEntity.passCount}" />/<c:out value="${testRunEntity.passCount + testRunEnti… 440 … <c:set var="coveredLineCnt" value="${codeCoverageEntityMap[testRunEntity.id].coveredLineCount}" /> 441 … <c:set var="totalLineCnt" value="${codeCoverageEntityMap[testRunEntity.id].totalLineCount}" />
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsCoverageAlertJobServlet.java | 112 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in getTestCoverageStatus() local 113 if (testRunEntity == null || !testRunEntity.getHasCodeCoverage()) { in getTestCoverageStatus() 116 CodeCoverageEntity codeCoverageEntity = testRunEntity.getCodeCoverageEntity(); in getTestCoverageStatus() 139 String footer = EmailHelper.getEmailFooter(testRunEntity, devices, link); in getTestCoverageStatus() 266 testRunEntity.getStartTimestamp(), in getTestCoverageStatus()
|
D | VtsAlertJobServlet.java | 158 for (Entity testRunEntity : in getTestRuns() 160 TestRunEntity testRun = TestRunEntity.fromEntity(testRunEntity); in getTestRuns()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | TestResults.java | 113 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in addTestRun() local 114 if (testRunEntity == null) return; in addTestRun() 115 if (testRunEntity.getStartTimestamp() < startTime) { in addTestRun() 116 startTime = testRunEntity.getStartTimestamp(); in addTestRun() 118 if (testRunEntity.getStartTimestamp() > endTime) { in addTestRun() 119 endTime = testRunEntity.getStartTimestamp(); in addTestRun() 121 testRuns.add(testRunEntity); in addTestRun()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowPlanRunServlet.java | 120 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRuns.get(key)); in doGetHandler() local 121 if (testRunEntity == null) continue; in doGetHandler() 130 new TestRunMetadata(key.getParent().getName(), testRunEntity, devices); in doGetHandler()
|
D | ShowTableServlet.java | 67 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in processTestRun() local 68 if (testRunEntity == null) { in processTestRun() 74 for (long testCaseId : testRunEntity.getTestCaseIds()) { in processTestRun()
|
D | ShowTreeServlet.java | 193 TestRunEntity testRunEntity = TestRunEntity.fromEntity(entityMap.get(key)); in doGetHandler() local 194 if (testRunEntity == null) { in doGetHandler() 203 TestRunMetadata metadata = new TestRunMetadata(testName, testRunEntity); in doGetHandler()
|
D | ShowCoverageOverviewServlet.java | 292 TestRunEntity testRunEntity = testRunEntityMap.get(entry.getKey()); in getCoverageDispatcher() local 300 passCount += testRunEntity.getPassCount(); in getCoverageDispatcher() 301 failCount += testRunEntity.getFailCount(); in getCoverageDispatcher()
|