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

Commit 095970a7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clean up after test"

parents 48ea281f 6d9d8172
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();