Home
last modified time | relevance | path

Searched refs:ITEM_COUNT (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java55 private static final int ITEM_COUNT = 10; field in SortingCursorWrapperTest
118 for (int i = 0; i < ITEM_COUNT; ++i) { in setUp()
136 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_ascending()
151 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_ascending()
160 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_descending()
175 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_descending()
189 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_ascending()
201 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_sizes_ascending()
212 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_descending()
224 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_sizes_descending()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java46 private static final int ITEM_COUNT = 10; field in ModelTest
83 for (int i = 0; i < ITEM_COUNT; ++i) { in setUp()
108 assertEquals(ITEM_COUNT, model.getItemCount()); in testItemCount()
121 for (int i = 0; i < ITEM_COUNT; ++i) { in testModelIdIsUnique()
138 assertEquals(ITEM_COUNT * 2, model.getItemCount()); in testModelIdIsUnique()
139 BitSet b0 = new BitSet(ITEM_COUNT); in testModelIdIsUnique()
140 BitSet b1 = new BitSet(ITEM_COUNT); in testModelIdIsUnique()
160 assertEquals(ITEM_COUNT, b0.cardinality()); in testModelIdIsUnique()
161 assertEquals(ITEM_COUNT, b1.cardinality()); in testModelIdIsUnique()
168 assertEquals(ITEM_COUNT, ids.length); in testGetItem()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java81 private static final int ITEM_COUNT = 2; field in RtlCompatibleViewPagerTest.ViewPagerAdapter
88 return ITEM_COUNT; in getCount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsPreferenceFragmentTest.java54 private static final int ITEM_COUNT = 5; field in SettingsPreferenceFragmentTest
78 doReturn(ITEM_COUNT).when(mPreferenceScreen).getPreferenceCount(); in setUp()