Merge "Add emergency broadcast to app & notification settings." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
908cad27ab
@@ -92,6 +92,15 @@ public class ProgressiveDisclosureTest {
|
||||
assertThat(mMixin.shouldCollapse(mScreen)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldNotCollapse_preferenceCountSameAsThreshold() {
|
||||
when(mScreen.getPreferenceCount()).thenReturn(5);
|
||||
|
||||
mMixin.setTileLimit(5);
|
||||
|
||||
assertThat(mMixin.shouldCollapse(mScreen)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldNotCollapse_whenStartAsExpanded() {
|
||||
when(mScreen.getPreferenceCount()).thenReturn(5);
|
||||
|
Reference in New Issue
Block a user