Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bc0c67f authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Remove the test window after the test finishes." into main

parents f6a7b72c 6f070211
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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
@@ -82,6 +83,11 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() {
        ViewUtils.attachView(root)
    }

    @After
    fun tearDown() {
        ViewUtils.detachView(root)
    }

    @Test
    fun noActionsPresent_noCrash() {
        view.removeView(actions)