Home
last modified time | relevance | path

Searched refs:FormatFileLocation (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc248 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42)); in TEST()
249 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42)); in TEST()
254 FormatFileLocation(nullptr, 42)); in TEST()
255 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation(nullptr, 42)); in TEST()
259 EXPECT_EQ("foo.cc:", FormatFileLocation("foo.cc", -1)); in TEST()
263 EXPECT_EQ("unknown file:", FormatFileLocation(nullptr, -1)); in TEST()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-test-part.cc52 return os << internal::FormatFileLocation(result.file_name(), in operator <<()
H A Dgtest-typed-test.cc98 fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(), in VerifyRegisteredTestNames()
H A Dgtest-port.cc1003 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line) { in FormatFileLocation() function
1038 << marker << " " << FormatFileLocation(file, line).c_str() in GTestLog()
H A Dgtest.cc2812 GTEST_LOG_(ERROR) << FormatFileLocation(code_location.file.c_str(), in ReportInvalidTestSuiteType()
3162 return (Message() << internal::FormatFileLocation( in PrintTestPartResultToString()
5389 << internal::FormatFileLocation(trace.file, trace.line) << " " in AddTestPartResult()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc77 s << internal::FormatFileLocation(file, line) << " " << message in LogWithLocation()
505 std::cout << internal::FormatFileLocation(state.first_used_file, in ~MockObjectRegistry()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h205 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
H A Dgtest-internal.h594 FormatFileLocation(file, line).c_str(), test_name, case_name); in AddTestName()
768 FormatFileLocation(code_location.file.c_str(), code_location.line)
H A Dgtest-port.h1056 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h701 *os << FormatFileLocation(file(), line()) << " "; in DescribeLocationTo()
1609 << FormatFileLocation(spec->file(), spec->line()) << "\n"; in DescribeDefaultActionTo()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc51 using ::testing::internal::FormatFileLocation;
912 std::string expect_call_location = FormatFileLocation(__FILE__, __LINE__ + 1); in TEST()
930 on_call_location = FormatFileLocation(__FILE__, __LINE__ + 1); in TEST()