Commit 8c4e99ae authored by Eric Seckler's avatar Eric Seckler Committed by Commit Bot

tracing: Fix TracingPreferences test

The share trace notification now has an action.
Given that the test doesn't test the action (and
any future ones), this removes the expectation that
there aren't any.

TBR=twellington@chromium.org

Bug: 907659
Change-Id: Ieb5b9f450e605e47cd068f4d99c1c98708961260
Reviewed-on: https://chromium-review.googlesource.com/c/1347250
Commit-Queue: Eric Seckler <eseckler@chromium.org>
Reviewed-by: default avatarEric Seckler <eseckler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610349}
parent a8991e61
...@@ -227,7 +227,6 @@ public class TracingPreferencesTest { ...@@ -227,7 +227,6 @@ public class TracingPreferencesTest {
notification = waitForNotification().notification; notification = waitForNotification().notification;
Assert.assertEquals(0, notification.flags & FLAG_ONGOING_EVENT); Assert.assertEquals(0, notification.flags & FLAG_ONGOING_EVENT);
Assert.assertNotEquals(null, notification.deleteIntent); Assert.assertNotEquals(null, notification.deleteIntent);
Assert.assertEquals(0, NotificationCompat.getActionCount(notification));
PendingIntent deleteIntent = notification.deleteIntent; PendingIntent deleteIntent = notification.deleteIntent;
// The temporary tracing output file should now exist. // The temporary tracing output file should now exist.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment