commit | 668c7f14e546e9962ebca656f6897731d21c3cba | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Thu Mar 15 18:14:54 2018 -0700 |
committer | Yi Jin <jinyithu@google.com> | Thu Mar 15 18:14:54 2018 -0700 |
tree | 3666d4fd98b4eef3bc078ad582f54bbf6ff93f15 | |
parent | a9858a27b5f814766e439c76f37fc94f9c3b27ec [diff] |
Fix incidentd CTS tests Bug: 74837756 Test: atest CtsIncidentHostTestCases Change-Id: Id2dc698d74a0a7eaaad4ba4130f3970c2d9e029e
diff --git a/hostsidetests/incident/src/com/android/server/cts/ActivityManagerIncidentTest.java b/hostsidetests/incident/src/com/android/server/cts/ActivityManagerIncidentTest.java index 655edf7..3510745 100644 --- a/hostsidetests/incident/src/com/android/server/cts/ActivityManagerIncidentTest.java +++ b/hostsidetests/incident/src/com/android/server/cts/ActivityManagerIncidentTest.java
@@ -91,7 +91,6 @@ assertTrue(perUserServices.getServiceRecordsCount() > 0); for (ServiceRecordProto service : perUserServices.getServiceRecordsList()) { assertFalse(service.getShortName().isEmpty()); - assertFalse(service.getHexHash().isEmpty()); assertFalse(service.getPackageName().isEmpty()); assertFalse(service.getProcessName().isEmpty()); assertFalse(service.getAppinfo().getBaseDir().isEmpty());
diff --git a/hostsidetests/incident/src/com/android/server/cts/PowerIncidentTest.java b/hostsidetests/incident/src/com/android/server/cts/PowerIncidentTest.java index 92b4629..14e1c79 100644 --- a/hostsidetests/incident/src/com/android/server/cts/PowerIncidentTest.java +++ b/hostsidetests/incident/src/com/android/server/cts/PowerIncidentTest.java
@@ -91,7 +91,6 @@ final LooperProto looper = dump.getLooper(); assertNotNull(looper.getThreadName()); assertTrue(looper.getThreadId() > 0); - assertTrue(looper.getIdentityHashCode() > 0); assertTrue(dump.getSuspendBlockersCount() > 0);