Searched refs:mSearchChipViewManager (Results 1 – 2 of 2) sorted by relevance
54 private SearchChipViewManager mSearchChipViewManager; field in SearchChipViewManagerTest64 mSearchChipViewManager = new SearchChipViewManager(mChipGroup); in setUp()65 mSearchChipViewManager.initChipSets(new String[] {"*/*"}); in setUp()70 mSearchChipViewManager.initChipSets(TEST_MIME_TYPES); in testInitChipSets_HasCorrectValue()71 mSearchChipViewManager.updateChips(new String[] {"*/*"}); in testInitChipSets_HasCorrectValue()78 mSearchChipViewManager.updateChips(TEST_MIME_TYPES); in testUpdateChips_HasCorrectValue()85 mSearchChipViewManager.mCheckedChipItems = getFakeSearchChipDataList(); in testGetCheckedChipMimeTypes_HasCorrectValue()87 final String[] checkedMimeTypes = mSearchChipViewManager.getCheckedMimeTypes(); in testGetCheckedChipMimeTypes_HasCorrectValue()98 mSearchChipViewManager.restoreCheckedChipItems(bundle); in testRestoreCheckedChipItems_HasCorrectValue()100 assertThat(mSearchChipViewManager.mCheckedChipItems.size()).isEqualTo(1); in testRestoreCheckedChipItems_HasCorrectValue()[all …]
80 private SearchChipViewManager mSearchChipViewManager; field in SearchViewManagerTest118 mSearchChipViewManager = spy(new SearchChipViewManager(chipGroup)); in setUp()120 mSearchChipViewManager, null /* savedState */, mTestTimer, mTestHandler); in setUp()199 mSearchChipViewManager.mCheckedChipItems = getFakeSearchChipDataList(); in testIsSearching_TrueHasCheckedChip()318 mSearchChipViewManager.mCheckedChipItems = getFakeSearchChipDataList(); in testCheckedChipItems_IsEmptyIfSearchCanceled()321 assertTrue(!mSearchChipViewManager.hasCheckedItems()); in testCheckedChipItems_IsEmptyIfSearchCanceled()341 mSearchChipViewManager.mCheckedChipItems = getFakeSearchChipDataList(); in testBuildQueryArgs_hasMimeType()361 verify(mSearchChipViewManager, times(1)).setChipsRowVisible(true); in testSupportsMimeTypesSearch_showChips()376 verify(mSearchChipViewManager, times(1)).setChipsRowVisible(false); in testNotSupportsMimeTypesSearch_notShowChips()402 verify(mSearchChipViewManager, times(1)).setChipsRowVisible(false); in testNotSupportsSearch_notShowMenuAndChips()