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

Commit 6d9d8172 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Clean up after test

Test: atest SystemUITests
Fixes: 218884426
Change-Id: I1d0499036f05a2a3bd64cee3f51b110daada4d77
parent 1a314e9e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import com.android.systemui.plugins.ActivityStarter;
import com.android.systemui.statusbar.policy.ConfigurationController;
import com.android.systemui.tuner.TunerService;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -66,6 +67,11 @@ public class KeyguardSliceViewControllerTest extends SysuiTestCase {
        mController.setupUri(KeyguardSliceProvider.KEYGUARD_SLICE_URI);
    }

    @After
    public void tearDown() {
        mController.onViewDetached();
    }

    @Test
    public void refresh_replacesSliceContentAndNotifiesListener() {
        mController.refresh();