Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ui/
DSortedArrayAdapterTest.java53 assertContentsInOrder(mAdapter, P1); in testAdd_one()
60 assertContentsInOrder(mAdapter, P2, P1); in testAdd_two()
66 assertContentsInOrder(mAdapter, P2, P1); in testAddAll_two()
73 assertContentsInOrder(mAdapter, P2, P1); in testRemove()
75 assertContentsInOrder(mAdapter, P2, P1); in testRemove()
77 assertContentsInOrder(mAdapter, P1); in testRemove()
87 assertContentsInOrder(mAdapter, P2, P1); in testChange_sorting()
89 assertContentsInOrder(mAdapter, P1, p2_changed); in testChange_sorting()
95 assertContentsInOrder(mAdapter, P1); in testChange_new()
100 assertContentsInOrder(mAdapter, EmptyHolder.EMPTY_HOLDER); in assertEmpty()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java116 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(), in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
120 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(3), in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
122 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(4), in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
124 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(5), in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
135 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(), in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveScore()
139 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(3), in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveScore()
141 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(4), in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveScore()
143 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(5), in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveScore()
202 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendAllChannels()
220 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendFewChannels()
DRoutineWatchEvaluatorTest.java194 MoreAsserts.assertContentsInOrder(wordList, words); in assertSplitTextToWords()
264 MoreAsserts.assertContentsInOrder(copy, items); in assertInOrder()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledRecordingTest.java86 MoreAsserts.assertContentsInOrder(sortByPriority(c,b,a), a, b, c); in testBuild_priority()
90 MoreAsserts.assertContentsInOrder(sortByPriority(c,b,a), a, c, b); in testBuild_priority()