Lines Matching defs:string
113 public AllEmojisTest(String string, String codepoints) {
114 mString = string;
139 TestString string = new TestString(str);
140 CharSequence sequence = EmojiCompat.get().process(string.toString());
142 assertThat(sequence, hasEmojiAt(string.emojiStartIndex(), string.emojiEndIndex()));
144 // case where Emoji is in the middle of string
145 string = new TestString(str).withPrefix().withSuffix();
146 sequence = EmojiCompat.get().process(string.toString());
148 assertThat(sequence, hasEmojiAt(string.emojiStartIndex(), string.emojiEndIndex()));
150 // case where Emoji is at the end of string
151 string = new TestString(str).withSuffix();
152 sequence = EmojiCompat.get().process(string.toString());
154 assertThat(sequence, hasEmojiAt(string.emojiStartIndex(), string.emojiEndIndex()));