/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntity.java | 74 private Set<String> testCaseNames; field in TestAcknowledgmentEntity 101 List<String> testCaseNames, in TestAcknowledgmentEntity() argument 111 if (testCaseNames != null) this.testCaseNames = new HashSet(testCaseNames); in TestAcknowledgmentEntity() 112 else this.testCaseNames = new HashSet<>(); in TestAcknowledgmentEntity() 138 List<String> testCaseNames, in TestAcknowledgmentEntity() argument 140 this(null, -1, test, userObj, branches, devices, testCaseNames, note); in TestAcknowledgmentEntity() 167 if (this.testCaseNames != null && this.testCaseNames.size() > 0) in toEntity() 168 ackEntity.setUnindexedProperty(TEST_CASE_NAMES, new ArrayList<>(this.testCaseNames)); in toEntity() 203 List<String> testCaseNames; in fromEntity() local 205 testCaseNames = (List<String>) e.getProperty(TEST_CASE_NAMES); in fromEntity() [all …]
|
D | TestCaseRunEntity.java | 56 private List<String> testCaseNames; field in TestCaseRunEntity 93 this.testCaseNames = new ArrayList<>(); in TestCaseRunEntity() 105 this.testCaseNames = new ArrayList<>(); in TestCaseRunEntity() 139 if (testCaseNames.size() == results.size()) { in onLoad() 140 for (int index = 0; index < testCaseNames.size(); index++) { in onLoad() 141 String name = testCaseNames.get(index); in onLoad() 158 this.testCaseNames.add(name); in addTestCase() 179 List<String> testCaseNames = new ArrayList<>(); in toEntity() local 182 testCaseNames.add(testCase.name); in toEntity() 185 testCaseRunEntity.setUnindexedProperty(TEST_CASE_NAMES, testCaseNames); in toEntity() [all …]
|
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntityTest.java | 62 List<String> testCaseNames = new ArrayList<>(); in testEntitySerialization() local 63 testCaseNames.add("testCase1"); in testEntitySerialization() 66 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); in testEntitySerialization() 80 .containsAll(testCaseNames)); in testEntitySerialization() 89 Assert.assertTrue(deserialized.getTestCaseNames().containsAll(testCaseNames)); in testEntitySerialization() 129 List<String> testCaseNames = new ArrayList<>(); in testJsonSerialization() local 130 testCaseNames.add("testCase1"); in testJsonSerialization() 133 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); in testJsonSerialization() 144 Assert.assertTrue(deserialized.getTestCaseNames().containsAll(testCaseNames)); in testJsonSerialization()
|
D | TestCaseRunEntityTest.java | 36 List<String> testCaseNames = in saveTest() local 48 String testCaseName = testCaseNames.get(index); in saveTest() 57 assertEquals(loadedTestCaseRunEntity.getTestCases().get(0).name, testCaseNames.get(0)); in saveTest()
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsAlertJobServletTest.java | 114 List<String> testCaseNames = new ArrayList<>(); in testSeparateAcknowledgedSpecific() local 115 testCaseNames.add("testCase1"); in testSeparateAcknowledgedSpecific() 119 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecific() 140 List<String> testCaseNames = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() local 141 testCaseNames.add("testCase1"); in testSeparateAcknowledgedSpecificMismatch() 145 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecificMismatch()
|
/test/vti/dashboard/src/main/webapp/js/ |
D | test_acknowledgments.js | 171 var testCaseNames = Array.from(testCaseSet); 172 testCaseNames.sort(); 178 'testCaseNames' : testCaseNames, property 182 var newAck = createAcknowledgment(newKey, test, branches, devices, testCaseNames, note); 431 ack.key, ack.testName, ack.branches, ack.devices, ack.testCaseNames, ack.note);
|
/test/vti/dashboard/ |
D | README.md | 123 First, in test-plan-report-data.json, you need to set the same number of data under "testCaseNames" 124 and "results". For example, if you put 5 elements of data in "testCaseNames", you should put the sa… 131 "testCaseNames": [
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | TestDataForDevServlet.java | 173 private List<String> testCaseNames; field in TestDataForDevServlet.TestReportDataObject.Test.TestRun.TestCaseRun 464 idx < testCaseRun.testCaseNames.size(); in doPost() 467 testCaseRun.testCaseNames.get(idx), in doPost()
|