Lines Matching refs:activeMatch
79 Range* activeMatch = textFinder().activeMatch();
80 ASSERT_TRUE(activeMatch);
81 EXPECT_EQ(textNode, activeMatch->startContainer());
82 EXPECT_EQ(4, activeMatch->startOffset());
83 EXPECT_EQ(textNode, activeMatch->endContainer());
84 EXPECT_EQ(10, activeMatch->endOffset());
88 activeMatch = textFinder().activeMatch();
89 ASSERT_TRUE(activeMatch);
90 EXPECT_EQ(textNode, activeMatch->startContainer());
91 EXPECT_EQ(14, activeMatch->startOffset());
92 EXPECT_EQ(textNode, activeMatch->endContainer());
93 EXPECT_EQ(20, activeMatch->endOffset());
97 activeMatch = textFinder().activeMatch();
98 ASSERT_TRUE(activeMatch);
99 EXPECT_EQ(textNode, activeMatch->startContainer());
100 EXPECT_EQ(4, activeMatch->startOffset());
101 EXPECT_EQ(textNode, activeMatch->endContainer());
102 EXPECT_EQ(10, activeMatch->endOffset());
110 activeMatch = textFinder().activeMatch();
111 ASSERT_TRUE(activeMatch);
112 EXPECT_EQ(textNode, activeMatch->startContainer());
113 EXPECT_EQ(14, activeMatch->startOffset());
114 EXPECT_EQ(textNode, activeMatch->endContainer());
115 EXPECT_EQ(20, activeMatch->endOffset());
119 activeMatch = textFinder().activeMatch();
120 ASSERT_TRUE(activeMatch);
121 EXPECT_EQ(textNode, activeMatch->startContainer());
122 EXPECT_EQ(4, activeMatch->startOffset());
123 EXPECT_EQ(textNode, activeMatch->endContainer());
124 EXPECT_EQ(10, activeMatch->endOffset());
128 activeMatch = textFinder().activeMatch();
129 ASSERT_TRUE(activeMatch);
130 EXPECT_EQ(textNode, activeMatch->startContainer());
131 EXPECT_EQ(14, activeMatch->startOffset());
132 EXPECT_EQ(textNode, activeMatch->endContainer());
133 EXPECT_EQ(20, activeMatch->endOffset());
147 EXPECT_FALSE(textFinder().activeMatch());
168 Range* activeMatch = textFinder().activeMatch();
169 ASSERT_TRUE(activeMatch);
170 EXPECT_EQ(textInUElement, activeMatch->startContainer());
171 EXPECT_EQ(0, activeMatch->startOffset());
172 EXPECT_EQ(textInUElement, activeMatch->endContainer());
173 EXPECT_EQ(3, activeMatch->endOffset());
177 activeMatch = textFinder().activeMatch();
178 ASSERT_TRUE(activeMatch);
179 EXPECT_EQ(textInBElement, activeMatch->startContainer());
180 EXPECT_EQ(0, activeMatch->startOffset());
181 EXPECT_EQ(textInBElement, activeMatch->endContainer());
182 EXPECT_EQ(3, activeMatch->endOffset());
185 activeMatch = textFinder().activeMatch();
186 ASSERT_TRUE(activeMatch);
187 EXPECT_EQ(textInIElement, activeMatch->startContainer());
188 EXPECT_EQ(0, activeMatch->startOffset());
189 EXPECT_EQ(textInIElement, activeMatch->endContainer());
190 EXPECT_EQ(3, activeMatch->endOffset());
194 activeMatch = textFinder().activeMatch();
195 ASSERT_TRUE(activeMatch);
196 EXPECT_EQ(textInUElement, activeMatch->startContainer());
197 EXPECT_EQ(0, activeMatch->startOffset());
198 EXPECT_EQ(textInUElement, activeMatch->endContainer());
199 EXPECT_EQ(3, activeMatch->endOffset());
207 activeMatch = textFinder().activeMatch();
208 ASSERT_TRUE(activeMatch);
209 EXPECT_EQ(textInIElement, activeMatch->startContainer());
210 EXPECT_EQ(0, activeMatch->startOffset());
211 EXPECT_EQ(textInIElement, activeMatch->endContainer());
212 EXPECT_EQ(3, activeMatch->endOffset());
216 activeMatch = textFinder().activeMatch();
217 ASSERT_TRUE(activeMatch);
218 EXPECT_EQ(textInBElement, activeMatch->startContainer());
219 EXPECT_EQ(0, activeMatch->startOffset());
220 EXPECT_EQ(textInBElement, activeMatch->endContainer());
221 EXPECT_EQ(3, activeMatch->endOffset());
224 activeMatch = textFinder().activeMatch();
225 ASSERT_TRUE(activeMatch);
226 EXPECT_EQ(textInUElement, activeMatch->startContainer());
227 EXPECT_EQ(0, activeMatch->startOffset());
228 EXPECT_EQ(textInUElement, activeMatch->endContainer());
229 EXPECT_EQ(3, activeMatch->endOffset());
233 activeMatch = textFinder().activeMatch();
234 ASSERT_TRUE(activeMatch);
235 EXPECT_EQ(textInIElement, activeMatch->startContainer());
236 EXPECT_EQ(0, activeMatch->startOffset());
237 EXPECT_EQ(textInIElement, activeMatch->endContainer());
238 EXPECT_EQ(3, activeMatch->endOffset());