Lines Matching defs:promoted
58 SuggestionCursor promoted = limit(cursor(mS11, mS12, mS21, mS22), 0, 0);
60 assertSameSuggestions(expected, promoted);
64 SuggestionCursor promoted = limit(cursor(mS11, mS12, mS21, mS22), 1, 1);
66 assertSameSuggestions(expected, promoted);
70 SuggestionCursor promoted = limit(cursor(mS11, mS12, mS21, mS22), 2, 2);
72 assertSameSuggestions(expected, promoted);
76 SuggestionCursor promoted = limit(cursor(mS11, mS12, mS21, mS22), 3, 3);
78 assertSameSuggestions(expected, promoted);
82 SuggestionCursor promoted = limit(cursor(mS11, mS12), 0, 0);
84 assertSameSuggestions(expected, promoted);
88 SuggestionCursor promoted = limit(cursor(mS11, mS12), 1, 1);
90 assertSameSuggestions(expected, promoted);
94 SuggestionCursor promoted = limit(cursor(mS11, mS12), 2, 2);
96 assertSameSuggestions(expected, promoted);
100 SuggestionCursor promoted = limit(cursor(), 2, 2);
102 assertSameSuggestions(expected, promoted);
106 SuggestionCursor promoted = limit(cursor(mS11, mS12, mWeb1, mWeb2), 0, 2);
108 assertSameSuggestions(expected, promoted);
112 SuggestionCursor promoted = limit(cursor(mS11, mS12, mWeb1, mWeb2), 2, 2);
114 assertSameSuggestions(expected, promoted);
119 ListSuggestionCursorNoDuplicates promoted = promote(config(), shortcuts, maxPromoted);
121 assertEquals(expectedCount, promoted.getCount());
123 assertSameSuggestions(slice(promoted, 0, count), slice(shortcuts, 0, count));
137 ListSuggestionCursorNoDuplicates promoted = new ListSuggestionCursorNoDuplicates(mQuery);
138 promoter.promoteShortcuts(shortcuts, maxPromoted, promoted);
139 return promoted;