Lines Matching refs:TestString
88 EXPECT_EQ("a string", format("{0}", TestString("a string"))); in TEST()
97 EXPECT_EQ("def ", format("{0:<5}", TestString("def"))); in TEST()
98 EXPECT_EQ(" def", format("{0:>5}", TestString("def"))); in TEST()
100 EXPECT_THROW_MSG(format("{0:=5}", TestString("def")), format_error, in TEST()
103 EXPECT_EQ(" def ", format("{0:^5}", TestString("def"))); in TEST()
104 EXPECT_EQ("def**", format("{0:*<5}", TestString("def"))); in TEST()
105 EXPECT_THROW_MSG(format("{0:+}", TestString()), format_error, in TEST()
107 EXPECT_THROW_MSG(format("{0:-}", TestString()), format_error, in TEST()
109 EXPECT_THROW_MSG(format("{0: }", TestString()), format_error, in TEST()
111 EXPECT_THROW_MSG(format("{0:#}", TestString()), format_error, in TEST()
113 EXPECT_THROW_MSG(format("{0:05}", TestString()), format_error, in TEST()
115 EXPECT_EQ("test ", format("{0:13}", TestString("test"))); in TEST()
116 EXPECT_EQ("test ", format("{0:{1}}", TestString("test"), 13)); in TEST()
117 EXPECT_EQ("te", format("{0:.2}", TestString("test"))); in TEST()
118 EXPECT_EQ("te", format("{0:.{1}}", TestString("test"), 2)); in TEST()
193 EXPECT_EQ("a string", format(FMT_STRING("{0}"), TestString("a string"))); in TEST()
328 auto strs = std::vector<TestString>{TestString("foo"), TestString("bar")}; in TEST()