Lines Matching defs:location
476 // A test that fails at a given file/line location with a given message.
513 void InsertSyntheticTestCase(const std::string& name, CodeLocation location,
551 location.file.c_str(), location.line, [message, location] {
552 return new FailureTest(location, message,
867 const char* location) {
870 << std::setbase(10) << " thrown in " << location << ".";
874 int UnitTestOptions::GTestProcessSEH(DWORD seh_code, const char* location) {
893 FormatSehExceptionMessage(seh_code, location) +
2571 const char* location) {
2578 message << " thrown in " << location << ".";
2602 const char* location) {
2607 GetExceptionCode(), location)) {
2611 (void)location;
2621 const char* location) {
2648 return HandleSehExceptionsInMethodIfSupported(object, method, location);
2659 FormatCxxExceptionMessage(e.what(), location));
2663 FormatCxxExceptionMessage(nullptr, location));
2667 return HandleSehExceptionsInMethodIfSupported(object, method, location);
2756 // code_location: code location where the test is defined
3158 // corresponding source code location; otherwise they do nothing.
4280 const std::string location =
4283 const std::string summary = location + "\n" + part.summary();
4286 const std::string detail = location + "\n" + part.message();
4293 const std::string location =
4296 const std::string summary = location + "\n" + part.summary();
4299 const std::string detail = location + "\n" + part.message();
4739 const std::string location =
4742 const std::string message = EscapeJson(location + "\n" + part.message());
5992 // if the variable is present. If a file already exists at this location, this
6891 // Pushes the given source file location and message onto a per-thread