Searched refs:TestAcknowledgmentEntity (Results 1 – 7 of 7) sorted by relevance
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntityTest.java | 65 TestAcknowledgmentEntity ack = in testEntitySerialization() 66 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); in testEntitySerialization() 70 Assert.assertEquals(key, e.getProperty(TestAcknowledgmentEntity.TEST_KEY)); in testEntitySerialization() 71 Assert.assertEquals(user, e.getProperty(TestAcknowledgmentEntity.USER_OBJ)); in testEntitySerialization() 73 ((List<String>) e.getProperty(TestAcknowledgmentEntity.BRANCHES)) in testEntitySerialization() 76 ((List<String>) e.getProperty(TestAcknowledgmentEntity.DEVICES)) in testEntitySerialization() 79 ((List<String>) e.getProperty(TestAcknowledgmentEntity.TEST_CASE_NAMES)) in testEntitySerialization() 81 Assert.assertEquals(note, e.getProperty(TestAcknowledgmentEntity.NOTE)); in testEntitySerialization() 83 TestAcknowledgmentEntity deserialized = TestAcknowledgmentEntity.fromEntity(e); in testEntitySerialization() 98 TestAcknowledgmentEntity ack = in testEntitySerializationWithNulls() [all …]
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsAlertJobServletTest.java | 24 import com.android.vts.entity.TestAcknowledgmentEntity; 57 factory().register(TestAcknowledgmentEntity.class); in setUpExtra() 62 testKey = KeyFactory.createKey(TestAcknowledgmentEntity.KIND, "test"); in setUpExtra() 90 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedAll() 91 TestAcknowledgmentEntity ack = in testSeparateAcknowledgedAll() 92 new TestAcknowledgmentEntity(testKey, user, null, null, null, null); in testSeparateAcknowledgedAll() 107 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedSpecific() 117 TestAcknowledgmentEntity ack = in testSeparateAcknowledgedSpecific() 118 new TestAcknowledgmentEntity( in testSeparateAcknowledgedSpecific() 133 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | TestAcknowledgmentRestServlet.java | 19 import com.android.vts.entity.TestAcknowledgmentEntity; 58 Query ackQuery = new Query(TestAcknowledgmentEntity.KIND); in doGet() 62 TestAcknowledgmentEntity ack = TestAcknowledgmentEntity.fromEntity(ackEntity); in doGet() 97 TestAcknowledgmentEntity ack = TestAcknowledgmentEntity.fromJson(currentUser, json); in doPost() 143 if (!key.getKind().equals(TestAcknowledgmentEntity.KIND)) { in doDelete()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntity.java | 50 public class TestAcknowledgmentEntity implements DashboardEntity { class 52 Logger.getLogger(TestAcknowledgmentEntity.class.getName()); 94 private TestAcknowledgmentEntity( in TestAcknowledgmentEntity() method in TestAcknowledgmentEntity 133 public TestAcknowledgmentEntity( in TestAcknowledgmentEntity() method in TestAcknowledgmentEntity 145 public com.googlecode.objectify.Key<TestAcknowledgmentEntity> save() { in save() 181 public static TestAcknowledgmentEntity fromEntity(Entity e) { in fromEntity() 210 return new TestAcknowledgmentEntity( in fromEntity() 225 public static TestAcknowledgmentEntity fromJson(User user, JsonObject json) { in fromJson() 256 return new TestAcknowledgmentEntity( in fromJson()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowTestAcknowledgmentServlet.java | 19 import com.android.vts.entity.TestAcknowledgmentEntity; 56 Query ackQuery = new Query(TestAcknowledgmentEntity.KIND); in doGetHandler() 60 TestAcknowledgmentEntity ack = TestAcknowledgmentEntity.fromEntity(ackEntity); in doGetHandler()
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsAlertJobServlet.java | 20 import com.android.vts.entity.TestAcknowledgmentEntity; 115 private static List<TestAcknowledgmentEntity> getTestCaseAcknowledgments(Key testKey) { in getTestCaseAcknowledgments() 118 List<TestAcknowledgmentEntity> acks = new ArrayList<>(); in getTestCaseAcknowledgments() 121 TestAcknowledgmentEntity.TEST_KEY, Query.FilterOperator.EQUAL, testKey); in getTestCaseAcknowledgments() 122 Query q = new Query(TestAcknowledgmentEntity.KIND).setFilter(testFilter); in getTestCaseAcknowledgments() 125 TestAcknowledgmentEntity ack = TestAcknowledgmentEntity.fromEntity(ackEntity); in getTestCaseAcknowledgments() 179 List<TestAcknowledgmentEntity> acks) { in separateAcknowledged() 181 for (TestAcknowledgmentEntity ack : acks) { in separateAcknowledged() 233 List<TestAcknowledgmentEntity> testAcks, in getTestStatus() 535 List<TestAcknowledgmentEntity> testAcks = in doPost()
|
/test/vti/dashboard/src/main/java/com/android/vts/config/ |
D | ObjectifyListener.java | 31 import com.android.vts.entity.TestAcknowledgmentEntity; 112 ObjectifyService.register(TestAcknowledgmentEntity.class); in contextInitialized()
|