Searched refs:topicsList (Results 1 – 4 of 4) sorted by relevance
83 ImmutableList<Topic> topicsList = ImmutableList.of(); in testGetTopicsReturnsNoTopics() local84 doReturn(topicsList).when(mConsentManager).getKnownTopicsWithConsent(); in testGetTopicsReturnsNoTopics()90 assertThat(mTopicsViewModel.getTopics().getValue()).containsExactlyElementsIn(topicsList); in testGetTopicsReturnsNoTopics()100 ImmutableList<Topic> topicsList = ImmutableList.copyOf(new Topic[] {topic1, topic2}); in testGetTopicsReturnsTopics() local101 doReturn(topicsList).when(mConsentManager).getKnownTopicsWithConsent(); in testGetTopicsReturnsTopics()107 assertThat(mTopicsViewModel.getTopics().getValue()).containsExactlyElementsIn(topicsList); in testGetTopicsReturnsTopics()
54 LiveData<ImmutableList<Topic>> topicsList, in TopicsListViewAdapter() argument58 mTopicsList = topicsList; in TopicsListViewAdapter()
103 topicsList -> { in setupViewModel()104 if (topicsList.isEmpty()) { in setupViewModel()
97 ImmutableList<Topic> topicsList = ImmutableList.copyOf(tempList); in setup() local98 doReturn(topicsList).when(mConsentManager).getKnownTopicsWithConsent(); in setup()