Lines Matching refs:FILE
160 // The default output file for XML output.
167 // The environment variable name for the test shard status file.
222 "by a colon and an output file name or directory. A directory "
226 "within that directory, with file-names based on the test "
341 const char* file,
344 : data_(new AssertHelperData(type, file, line, message)) {
354 AddTestPartResult(data_->type, data_->file, data_->line,
395 // Returns the name of the requested output file, or the default if none
1938 NULL, // No info about the source file where the exception occurred.
2246 const char* file, int line) {
2258 fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(),
2981 // This class generates an XML output file.
3026 static void PrintXmlTestCase(FILE* out, const TestCase& test_case);
3029 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3037 // The output file.
3047 fprintf(stderr, "XML output file may not be null\n");
3056 FILE* xmlout = NULL;
3075 "Unable to open file \"%s\"\n",
3244 void XmlUnitTestResultPrinter::PrintXmlTestCase(FILE* out,
3265 void XmlUnitTestResultPrinter::PrintXmlUnitTest(FILE* out,
3368 Send(String::Format("event=TestPartResult&file=%s&line=%d&message=",
3400 int sockfd_; // socket file descriptor
3477 // Pushes the given source file location and message onto a per-thread
3480 ScopedTrace::ScopedTrace(const char* file, int line, const Message& message) {
3482 trace.file = file;
3735 msg << "\n" << internal::FormatFileLocation(trace.file, trace.line)
4245 // Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file
4246 // if the variable is present. If a file already exists at this location, this
4247 // function will write over it. If the variable is present, but the file cannot
4252 FILE* const file = posix::FOpen(test_shard_file, "w");
4253 if (file == NULL) {
4255 "Could not write to the test shard status file \"%s\" "
4261 fclose(file);
4704 " Generate an XML report in the given directory or with the given file\n"