Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/NotificationTemplateViewWrapperTest.kt +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import com.android.systemui.statusbar.notification.row.wrapper.NotificationTempl import com.android.systemui.testKosmos import com.android.systemui.util.leak.ReferenceTestUtils.waitForCondition import com.google.common.truth.Truth.assertThat import org.junit.After import org.junit.Before import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -82,6 +83,11 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { ViewUtils.attachView(root) } @After fun tearDown() { ViewUtils.detachView(root) } @Test fun noActionsPresent_noCrash() { view.removeView(actions) Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/NotificationTemplateViewWrapperTest.kt +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import com.android.systemui.statusbar.notification.row.wrapper.NotificationTempl import com.android.systemui.testKosmos import com.android.systemui.util.leak.ReferenceTestUtils.waitForCondition import com.google.common.truth.Truth.assertThat import org.junit.After import org.junit.Before import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -82,6 +83,11 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { ViewUtils.attachView(root) } @After fun tearDown() { ViewUtils.detachView(root) } @Test fun noActionsPresent_noCrash() { view.removeView(actions) Loading