Home | History | Annotate | Download | only in test

Lines Matching refs:FormatFileLocation

269 // Verifies behavior of FormatFileLocation.
271 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42));
272 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42));
277 IsSubstring, "unknown file", FormatFileLocation(NULL, 42));
278 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation(NULL, 42));
282 EXPECT_EQ("foo.cc:", FormatFileLocation("foo.cc", -1));
286 EXPECT_EQ("unknown file:", FormatFileLocation(NULL, -1));