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

Commit 54d84c56 authored by Yi-Ling Chuang's avatar Yi-Ling Chuang
Browse files

Remove the flaky Conditionals test.

This test seems to be flaky for quite a while. The method tested runs
the check using a FutureTask which may sometimes hit the timeout issue,
so it seems not that suitable to do the test.

Fixes: 176274700
Test: robotest
Change-Id: I1bf979f4a792d76da01bfa82355ccf8f659dc6f8
parent a12003a9
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -66,13 +66,6 @@ public class ConditionManagerTest {
        assertThat(mManager.getDisplayableCards()).isEmpty();
    }

    @Test
    public void getDisplayableCards_hasDisplayable() {
        when(mController.isDisplayable()).thenReturn(true);

        assertThat(mManager.getDisplayableCards()).hasSize(1);
    }

    @Test
    public void onPrimaryClick_shouldRelayToController() {
        mManager.onPrimaryClick(mContext, ID);