Lines Matching refs:ToStdString
37 EXPECT_EQ(StringView("foo|", 3).ToStdString(), std::string("foo")); in TEST()
98 EXPECT_EQ(StringView().substr(0, 0).ToStdString(), ""); in TEST()
99 EXPECT_EQ(StringView().substr(3, 1).ToStdString(), ""); in TEST()
100 EXPECT_EQ(StringView("foo").substr(3, 1).ToStdString(), ""); in TEST()
101 EXPECT_EQ(StringView("foo").substr(4, 0).ToStdString(), ""); in TEST()
102 EXPECT_EQ(StringView("foo").substr(4, 1).ToStdString(), ""); in TEST()
103 EXPECT_EQ(StringView("foo").substr(0, 1).ToStdString(), "f"); in TEST()
104 EXPECT_EQ(StringView("foo").substr(0, 3).ToStdString(), "foo"); in TEST()
105 EXPECT_EQ(StringView("foo").substr(0, 99).ToStdString(), "foo"); in TEST()
106 EXPECT_EQ(StringView("foo").substr(1, 2).ToStdString(), "oo"); in TEST()
107 EXPECT_EQ(StringView("foo").substr(1, 3).ToStdString(), "oo"); in TEST()
108 EXPECT_EQ(StringView("foo").substr(1, 99).ToStdString(), "oo"); in TEST()
109 EXPECT_EQ(StringView("xyz").substr(0).ToStdString(), "xyz"); in TEST()
110 EXPECT_EQ(StringView("xyz").substr(2).ToStdString(), "z"); in TEST()
111 EXPECT_EQ(StringView("xyz").substr(3).ToStdString(), ""); in TEST()
185 EXPECT_TRUE(false) << "H(" << sv.ToStdString() << ") = " in TEST()
186 << "H(" << other->second.ToStdString() << ")"; in TEST()