Lines Matching refs:match1
33 PhoneNumberMatch match1(start_index, raw_phone_number, number); in TEST() local
35 EXPECT_EQ(start_index, match1.start()); in TEST()
37 match1.end()); in TEST()
38 EXPECT_EQ(static_cast<int>(raw_phone_number.length()), match1.length()); in TEST()
39 EXPECT_EQ(raw_phone_number, match1.raw_string()); in TEST()
41 EXPECT_EQ("PhoneNumberMatch [10,25) 1 800 234 45 67", match1.ToString()); in TEST()
46 PhoneNumberMatch match1(10, "1 800 234 45 67", number); in TEST() local
50 ASSERT_FALSE(match1.Equals(match2)); in TEST()
51 match2.set_start(match1.start()); in TEST()
52 EXPECT_TRUE(match1.Equals(match2)); in TEST()
57 ASSERT_FALSE(match1.Equals(match2)); in TEST()
58 match2.set_number(match1.number()); in TEST()
59 EXPECT_TRUE(ExactlySameAs(match1.number(), match2.number())); in TEST()
60 EXPECT_TRUE(match1.Equals(match2)); in TEST()
63 ASSERT_FALSE(match1.Equals(match2)); in TEST()
68 PhoneNumberMatch match1(10, "1 800 234 45 67", number); in TEST() local
70 ASSERT_FALSE(match1.Equals(match2)); in TEST()
72 match2.CopyFrom(match1); in TEST()
73 ASSERT_TRUE(match1.Equals(match2)); in TEST()
85 PhoneNumberMatch match1(10, "1 800 234 45 67", number); in TEST() local
87 match2.CopyFrom(match1); in TEST()
88 ASSERT_TRUE(match1.Equals(match2)); in TEST()