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

Commit 6fb936f8 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed an issue with a test that didn't work properly"

parents 431df70c 9a236f78
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public class RemoteInputViewTest extends SysuiTestCase {

    private static final String TEST_RESULT_KEY = "test_result_key";
    private static final String TEST_REPLY = "hello";
    private static final String TEST_ACTION = "com.android.ACTION";
    private static final String TEST_ACTION = "com.android.REMOTE_INPUT_VIEW_ACTION";

    @Mock private RemoteInputController mController;
    @Mock private ShortcutManager mShortcutManager;
@@ -93,6 +93,7 @@ public class RemoteInputViewTest extends SysuiTestCase {
    @Test
    public void testNoCrashWithoutVisibilityListener() {
        mView.setOnVisibilityChangedListener(null);
        mView.onVisibilityChanged(mView, View.VISIBLE);
        mView.setVisibility(View.INVISIBLE);
        mView.setVisibility(View.VISIBLE);
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ import org.junit.runner.RunWith;
@SmallTest
public class SmartReplyViewTest extends SysuiTestCase {
    private static final String TEST_RESULT_KEY = "test_result_key";
    private static final String TEST_ACTION = "com.android.ACTION";
    private static final String TEST_ACTION = "com.android.SMART_REPLY_VIEW_ACTION";

    private static final String[] TEST_CHOICES = new String[]{"Hello", "What's up?", "I'm here"};