OSDN Git Service

Merge "Revert "Ignore a broken test until it can be fixed."" into oc-dev
authorAdrian Roos <roosa@google.com>
Fri, 7 Apr 2017 17:35:44 +0000 (17:35 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 7 Apr 2017 17:35:48 +0000 (17:35 +0000)
1  2 
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java

@@@ -38,10 -37,9 +37,9 @@@ 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 {