Lines Matching full:results

153   std::vector<std::string> results = SplitStringUsingSubstr(  in TEST()  local
155 ASSERT_EQ(1u, results.size()); in TEST()
156 EXPECT_THAT(results, ElementsAre("")); in TEST()
234 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
237 ASSERT_EQ(1u, results.size()); in TEST()
238 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); in TEST()
242 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
245 ASSERT_EQ(6u, results.size()); in TEST()
246 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); in TEST()
250 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
253 ASSERT_EQ(7u, results.size()); in TEST()
254 EXPECT_THAT(results, ElementsAre("uno", "", "", "dos", "tres", "", "cuatro")); in TEST()
258 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
261 ASSERT_EQ(7u, results.size()); in TEST()
263 results, ElementsAre("un", "deux", "trois", "quatre", "", "", "")); in TEST()
267 std::vector<base::StringPiece> results = in TEST() local
270 ASSERT_EQ(1u, results.size()); in TEST()
271 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); in TEST()
275 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
278 ASSERT_EQ(6u, results.size()); in TEST()
279 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); in TEST()
283 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
286 ASSERT_EQ(7u, results.size()); in TEST()
287 EXPECT_THAT(results, ElementsAre("uno", "", "", "dos", "tres", "", "cuatro")); in TEST()
291 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
294 ASSERT_EQ(7u, results.size()); in TEST()
295 EXPECT_THAT(results, in TEST()
300 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
303 ASSERT_EQ(4u, results.size()); in TEST()
304 EXPECT_THAT(results, ElementsAre("un ", "deux\t", "trois\n", "quatre")); in TEST()
308 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
311 ASSERT_EQ(4u, results.size()); in TEST()
312 EXPECT_THAT(results, ElementsAre("un", "deux", "trois", "quatre")); in TEST()
316 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
319 ASSERT_EQ(5u, results.size()); in TEST()
320 EXPECT_THAT(results, ElementsAre("un", "deux", "trois", "", "")); in TEST()
324 std::vector<base::StringPiece> results = SplitStringPieceUsingSubstr( in TEST() local
327 ASSERT_EQ(3u, results.size()); in TEST()
328 EXPECT_THAT(results, ElementsAre("un", "deux", "trois")); in TEST()
375 std::vector<std::string> results = base::SplitString( in TEST() local
378 ASSERT_EQ(data[i].expected_result_count, results.size()); in TEST()
380 ASSERT_EQ(data[i].output1, results[0]); in TEST()
382 ASSERT_EQ(data[i].output2, results[1]); in TEST()