Lines Matching defs:file

32 // This header file defines the public API for Google Test.  It should be
36 // leave some internal implementation details in this header file.
112 // This flag controls whether Google Test emits a detailed XML report to a file
564 // Returns the file name where this test is defined.
565 const char* file() const { return location_.file.c_str(); }
1095 // Listener responsible for the creation of the XML output file.
1602 AssertHelper(TestPartResult::Type type, const char* file, int line,
1618 : type(t), file(srcfile), line(line_num), message(msg) {}
1621 const char* const file;
1736 // Generates a nonfatal failure at the given source file location with
1738 #define ADD_FAILURE_AT(file, line) \
1739 GTEST_MESSAGE_AT_(file, line, "Failed", \
1745 // Like GTEST_FAIL(), but at the given source file location.
1746 #define GTEST_FAIL_AT(file, line) \
1747 return GTEST_MESSAGE_AT_(file, line, "Failed", \
2044 // Causes a trace (including the given source file path and line number,
2052 // testing::ScopedTrace trace("file.cc", 123, "message");
2056 // The c'tor pushes the given source file location and message onto
2062 ScopedTrace(const char* file, int line, const T& message) {
2063 PushTrace(file, line, (Message() << message).GetString());
2067 ScopedTrace(const char* file, int line, const char* message) {
2068 PushTrace(file, line, message ? message : "(null)");
2071 ScopedTrace(const char* file, int line, const std::string& message) {
2072 PushTrace(file, line, message);
2082 void PushTrace(const char* file, int line, std::string message);
2088 // Causes a trace (including the source file path, the current line
2284 const char* file, int line, Factory factory) {
2298 internal::CodeLocation(file, line), internal::GetTypeId<TestT>(),
2299 internal::SuiteApiResolver<TestT>::GetSetUpCaseOrSuite(file, line),
2300 internal::SuiteApiResolver<TestT>::GetTearDownCaseOrSuite(file, line),