From e01ea5351b44c6e38a194f2304046cd998c150f6 Mon Sep 17 00:00:00 2001 From: Riddle Hsu Date: Thu, 13 Aug 2020 21:58:26 +0800 Subject: [PATCH] Move Ignore annotation from class to method Otherwise the expected test count is mismatched and report as a tool failure. Bug: 163813569 Test: ProtoLogIntegrationTest Change-Id: Id19d70c728de6bd7c2c9b1473b78c036ab920d00 --- .../src/com/android/server/wm/ProtoLogIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/tests/wmtests/src/com/android/server/wm/ProtoLogIntegrationTest.java b/services/tests/wmtests/src/com/android/server/wm/ProtoLogIntegrationTest.java index 8223024234fbb..578a43cba33de 100644 --- a/services/tests/wmtests/src/com/android/server/wm/ProtoLogIntegrationTest.java +++ b/services/tests/wmtests/src/com/android/server/wm/ProtoLogIntegrationTest.java @@ -38,13 +38,13 @@ import org.junit.Test; */ @SmallTest @Presubmit -@Ignore("b/163095037") public class ProtoLogIntegrationTest { @After public void tearDown() { ProtoLogImpl.setSingleInstance(null); } + @Ignore("b/163095037") @Test public void testProtoLogToolIntegration() { ProtoLogImpl mockedProtoLog = mock(ProtoLogImpl.class);