OSDN Git Service

Merge "NotiViewWrapper: Fix test that breaks on master" into oc-dev
authorTreeHugger Robot <treehugger-gerrit@google.com>
Fri, 7 Apr 2017 00:26:30 +0000 (00:26 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 7 Apr 2017 00:26:34 +0000 (00:26 +0000)
1  2 
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java

@@@ -38,10 -37,9 +38,10 @@@ public class NotificationViewWrapperTes
          mContext = InstrumentationRegistry.getTargetContext();
      }
  
 +    @Ignore("Broken")
      @Test
      public void constructor_doesntUseViewContext() throws Exception {
-         new TestableNotificationViewWrapper(mContext, new View(null /* context */), null /* row */);
+         new TestableNotificationViewWrapper(mContext, null /* view */, null /* row */);
      }
  
      static class TestableNotificationViewWrapper extends NotificationViewWrapper {