Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc260 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42)); in TEST()
261 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42)); in TEST()
266 IsSubstring, "unknown file", FormatFileLocation(NULL, 42)); in TEST()
267 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation(NULL, 42)); in TEST()
271 EXPECT_EQ("foo.cc:", FormatFileLocation("foo.cc", -1)); in TEST()
275 EXPECT_EQ("unknown file:", FormatFileLocation(NULL, -1)); in TEST()
/freebsd-13.1/contrib/googletest/googletest/src/
H A Dgtest-typed-test.cc106 fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(), in VerifyRegisteredTestNames()
H A Dgtest-port.cc937 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line) { in FormatFileLocation() function
972 << FormatFileLocation(file, line).c_str() << ": "; in GTestLog()
H A Dgtest.cc2637 GTEST_LOG_(ERROR) << FormatFileLocation(code_location.file.c_str(), in ReportInvalidTestCaseType()
2919 << internal::FormatFileLocation(test_part_result.file_name(), in PrintTestPartResultToString()
4721 msg << "\n" << internal::FormatFileLocation(trace.file, trace.line) in AddTestPartResult()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h173 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
H A Dgtest-internal.h552 FormatFileLocation(file, line).c_str(), test_name, case_name); in AddTestName()
715 FormatFileLocation(code_location.file.c_str(),
H A Dgtest-port.h1317 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h715 *os << FormatFileLocation(file(), line()) << " "; in DescribeLocationTo()
1658 << FormatFileLocation(spec->file(), spec->line()) << "\n"; in DescribeDefaultActionTo()
/freebsd-13.1/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc613 std::cout << internal::FormatFileLocation(state.first_used_file, in ~MockObjectRegistry()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc95 using testing::internal::FormatFileLocation;
956 std::string expect_call_location = FormatFileLocation(__FILE__, __LINE__ + 1); in TEST()
974 on_call_location = FormatFileLocation(__FILE__, __LINE__ + 1); in TEST()