Merge "Remove the flaky Conditionals test."
This commit is contained in:
committed by
Android (Google) Code Review
commit
d3c7666770
@@ -66,13 +66,6 @@ public class ConditionManagerTest {
|
|||||||
assertThat(mManager.getDisplayableCards()).isEmpty();
|
assertThat(mManager.getDisplayableCards()).isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void getDisplayableCards_hasDisplayable() {
|
|
||||||
when(mController.isDisplayable()).thenReturn(true);
|
|
||||||
|
|
||||||
assertThat(mManager.getDisplayableCards()).hasSize(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void onPrimaryClick_shouldRelayToController() {
|
public void onPrimaryClick_shouldRelayToController() {
|
||||||
mManager.onPrimaryClick(mContext, ID);
|
mManager.onPrimaryClick(mContext, ID);
|
||||||
|
Reference in New Issue
Block a user