Searched refs:mExpectedCorpora (Results 1 – 2 of 2) sorted by relevance
38 private List<Corpus> mExpectedCorpora; field in SuggestionsTest42 mExpectedCorpora = Arrays.asList(new Corpus[]{null,null}); in setUp()43 mSuggestions = new Suggestions(null, 0, "foo", mExpectedCorpora); in setUp()55 assertEquals(mExpectedCorpora.size(), mSuggestions.getExpectedResultCount()); in testGetExpectedResultCount()60 assertEquals(mExpectedCorpora.size(), expectedCorpora.size()); in testGetExpectedCorpora()61 for (int i=0; i<mExpectedCorpora.size(); ++i) { in testGetExpectedCorpora()62 assertEquals(mExpectedCorpora.get(i), expectedCorpora.get(i)); in testGetExpectedCorpora()
46 private final List<Corpus> mExpectedCorpora; field in Suggestions84 mExpectedCorpora = expectedCorpora; in Suggestions()85 mCorpusResults = new ArrayList<CorpusResult>(mExpectedCorpora.size()); in Suggestions()90 + "\" expected corpora: " + mExpectedCorpora); in Suggestions()100 return mExpectedCorpora; in getExpectedCorpora()108 return mExpectedCorpora.size(); in getExpectedResultCount()195 return mCorpusResults.size() >= mExpectedCorpora.size(); in isDone()296 if ((mExpectedCorpora.size() == 1) && (mExpectedCorpora.get(0) == singleCorpus)) { in filterByCorpus()305 return "Suggestions{expectedCorpora=" + mExpectedCorpora in toString()