Merge "Clean up after test"
This commit is contained in:
committed by
Android (Google) Code Review
commit
095970a76a
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user