Searched refs:codeCoverageEntity (Results 1 – 9 of 9) sorted by relevance
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
D | CodeCoverageEntityTest.java | 37 … CodeCoverageEntity codeCoverageEntity = new CodeCoverageEntity(testRunParentKey, 1000, 3500); in saveTest() local 38 codeCoverageEntity.save(); in saveTest() 40 assertEquals(codeCoverageEntity.getCoveredLineCount(), 1000); in saveTest() 41 assertEquals(codeCoverageEntity.getTotalLineCount(), 3500); in saveTest() 51 … CodeCoverageEntity codeCoverageEntity = new CodeCoverageEntity(testRunParentKey, 1000, 3500); in getUrlSafeKeyTest() local 52 codeCoverageEntity.save(); in getUrlSafeKeyTest() 56 assertTrue(codeCoverageEntity.getUrlSafeKey().endsWith(urlKey)); in getUrlSafeKeyTest()
|
D | ApiCoverageExcludedEntityTest.java | 55 CodeCoverageEntity codeCoverageEntity = in getUrlSafeKeyTest() local 57 codeCoverageEntity.save(); in getUrlSafeKeyTest() 61 assertTrue(codeCoverageEntity.getUrlSafeKey().endsWith(urlKey)); in getUrlSafeKeyTest()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | CodeCoverageEntity.java | 128 com.google.appengine.api.datastore.Entity codeCoverageEntity = in toEntity() local 130 codeCoverageEntity.setProperty(COVERED_LINE_COUNT, this.coveredLineCount); in toEntity() 131 codeCoverageEntity.setProperty(TOTAL_LINE_COUNT, this.totalLineCount); in toEntity() 132 codeCoverageEntity.setIndexedProperty("updated", new Date()); in toEntity() 133 return codeCoverageEntity; in toEntity()
|
D | TestRunEntity.java | 314 CodeCoverageEntity codeCoverageEntity = in getCodeCoverageEntity() local 320 if (Objects.isNull(codeCoverageEntity)) { in getCodeCoverageEntity() 321 codeCoverageEntity = in getCodeCoverageEntity() 324 codeCoverageEntity.save(); in getCodeCoverageEntity() 325 return codeCoverageEntity; in getCodeCoverageEntity() 327 return codeCoverageEntity; in getCodeCoverageEntity() 430 CodeCoverageEntity codeCoverageEntity = this.getCodeCoverageEntity(); in toJson() local 436 codeCoverageEntity.setCoveredLineCount( in toJson() 440 codeCoverageEntity.setTotalLineCount( in toJson() 445 long totalLineCount = codeCoverageEntity.getTotalLineCount(); in toJson() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsCoverageAlertJobServlet.java | 116 CodeCoverageEntity codeCoverageEntity = testRunEntity.getCodeCoverageEntity(); in getTestCoverageStatus() local 118 if (codeCoverageEntity.getTotalLineCount() <= 0 in getTestCoverageStatus() 119 || codeCoverageEntity.getCoveredLineCount() < 0) { in getTestCoverageStatus() 123 ((double) codeCoverageEntity.getCoveredLineCount()) in getTestCoverageStatus() 124 / codeCoverageEntity.getTotalLineCount(); in getTestCoverageStatus() 267 codeCoverageEntity.getCoveredLineCount(), in getTestCoverageStatus() 268 codeCoverageEntity.getTotalLineCount(), in getTestCoverageStatus()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowCoverageOverviewServlet.java | 294 CodeCoverageEntity codeCoverageEntity = entry.getValue(); in getCoverageDispatcher() local 296 coveredLines += codeCoverageEntity.getCoveredLineCount(); in getCoverageDispatcher() 298 codeCoverageEntity.getTotalLineCount() in getCoverageDispatcher() 299 - codeCoverageEntity.getCoveredLineCount(); in getCoverageDispatcher()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | TestResults.java | 255 CodeCoverageEntity codeCoverageEntity = testRun.getCodeCoverageEntity(); in processReport() local 296 totalLineCount = codeCoverageEntity.getTotalLineCount(); in processReport() 297 coveredLineCount = codeCoverageEntity.getCoveredLineCount(); in processReport()
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | DatastoreRestServlet.java | 366 CodeCoverageEntity codeCoverageEntity = in insertTestReport() local 372 codeCoverageEntityList.add(codeCoverageEntity); in insertTestReport()
|
D | TestDataForDevServlet.java | 521 CodeCoverageEntity codeCoverageEntity = in doPost() 526 datastore.put(codeCoverageEntity.toEntity()); in doPost()
|