Home
last modified time | relevance | path

Searched refs:testCases (Results 1 – 7 of 7) sorted by relevance

/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java89 Set<String> testCases = new HashSet<>(allTestCases); in testSeparateAcknowledgedAll() local
96 VtsAlertJobServlet.separateAcknowledged(testCases, allDevices, acks); in testSeparateAcknowledgedAll()
99 assertEquals(0, testCases.size()); in testSeparateAcknowledgedAll()
106 Set<String> testCases = new HashSet<>(allTestCases); in testSeparateAcknowledgedSpecific() local
123 VtsAlertJobServlet.separateAcknowledged(testCases, allDevices, acks); in testSeparateAcknowledgedSpecific()
125 assertEquals(allTestCases.size(), testCases.size()); in testSeparateAcknowledgedSpecific()
132 Set<String> testCases = new HashSet<>(allTestCases); in testSeparateAcknowledgedSpecificMismatch() local
149 VtsAlertJobServlet.separateAcknowledged(testCases, allDevices, acks); in testSeparateAcknowledgedSpecificMismatch()
152 assertTrue(!testCases.contains("testCase1")); in testSeparateAcknowledgedSpecificMismatch()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunDetails.java37 private final List<String> testCases; field in TestRunDetails.ResultColumn
41 this.testCases = new ArrayList<>(); in ResultColumn()
45 this.testCases.add(testCase); in add()
49 return this.testCases.size(); in size()
53 testCases.sort(Comparator.naturalOrder()); in toJson()
56 json.add(DATA_KEY, new Gson().toJsonTree(testCases)); in toJson()
DTestResults.java129 for (TestCase testCase : testCaseRunEntity.testCases) { in addTestRun()
151 for (TestCase testCase : testCaseRunEntity.testCases) { in generateToTBreakdown()
303 totalCount += testCaseEntity.testCases.size(); in processReport()
304 for (TestCase testCase : testCaseEntity.testCases) { in processReport()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestCaseRunEntity.java59 public final List<TestCase> testCases; field in TestCaseRunEntity
94 this.testCases = new ArrayList<>(); in TestCaseRunEntity()
106 this.testCases = new ArrayList<>(); in TestCaseRunEntity()
115 return this.testCases.size() >= SIZE_LIMIT; in isFull()
143 this.testCases.add(new TestCase(this.id, this.testCases.size(), name, result)); in onLoad()
178 if (this.testCases.size() > 0) { in toEntity()
181 for (TestCase testCase : this.testCases) { in toEntity()
/test/vti/dashboard/src/main/webapp/js/
Dtest_acknowledgments.js207 function showModal(ack, key, test, branches, devices, testCases, note) { argument
264 addChips(testCaseSet, testCaseChips, testCases, allTestCasesLabel);
326 function createAcknowledgment(key, test, branches, devices, testCases, note) { argument
334 showModal(wrapper, key, test, branches, devices, testCases, note);
353 if (!!testCases && testCases.length == 1) {
354 testCaseSummary = testCases[0];
355 } else if (!!testCases && testCases.length > 1) {
356 testCaseSummary = testCases[0];
357 testCaseSummary += '<span class="count-indicator"> (+' + (testCases.length - 1) + ')</span>';
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java100 if (testCaseRunEntity.testCases.size() <= testCaseRef.offset) { in getCurrentFailures()
103 TestCase testCase = testCaseRunEntity.testCases.get(testCaseRef.offset); in getCurrentFailures()
177 Set<String> testCases, in separateAcknowledged() argument
202 acknowledged.addAll(testCases); in separateAcknowledged()
203 testCases.removeAll(acknowledged); in separateAcknowledged()
206 if (testCases.contains(testCase)) { in separateAcknowledged()
208 testCases.remove(testCase); in separateAcknowledged()
271 for (TestCase testCase : testCaseRunEntity.testCases) { in getTestStatus()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowTableServlet.java78 List<Entity> testCases = new ArrayList<>(); in processTestRun() local
82 testCases.add(entityMap.get(key)); in processTestRun()
86 testResults.addTestRun(testRun, testCases); in processTestRun()