Searched refs:getSnippet (Results 1 – 5 of 5) sorted by relevance
69 assertThat(result.getSnippet()).isEqualTo(snippet); in testCreateSearchResult()95 assertThat(copy.getSnippet()).isEqualTo(snippet); in testCreateSearchResult()
928 return getClass().getSimpleName() + " near " + getSnippet(); in toString()1089 throw new JsonSyntaxException(message + " near " + getSnippet()); in syntaxError()1092 private CharSequence getSnippet() { in getSnippet() method in JsonReader
73 assertThat(actualMatchInfo.getSnippet()).isEqualTo("ello Worl"); in testBuildSearchResult()
4526 assertThat(matchInfo.getSnippet()).isEqualTo("is foo."); in testSnippet()4607 assertThat(matchInfos.get(0).getSnippet()).isEqualTo("I like red"); in testSetSnippetCount()4608 assertThat(matchInfos.get(1).getSnippet()).isEqualTo("I like"); in testSetSnippetCount()4609 assertThat(matchInfos.get(2).getSnippet()).isEqualTo("I like blue"); in testSetSnippetCount()4615 assertThat(matchInfos.get(0).getSnippet()).isEqualTo("I like cats"); in testSetSnippetCount()4616 assertThat(matchInfos.get(1).getSnippet()).isEqualTo("I like dogs"); in testSetSnippetCount()4617 assertThat(matchInfos.get(2).getSnippet()).isEqualTo("I like"); in testSetSnippetCount()
2043 method @NonNull public String getSnippet();