Home | History | Annotate | Download | only in src

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(),
3009 // This class generates an XML output file.
3054 static void PrintXmlTestCase(FILE* out, const TestCase& test_case);
3057 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3065 // The output file.
3075 fprintf(stderr, "XML output file may not be null\n");
3084 FILE* xmlout = NULL;
3103 "Unable to open file \"%s\"\n",
3272 void XmlUnitTestResultPrinter::PrintXmlTestCase(FILE* out,
3293 void XmlUnitTestResultPrinter::PrintXmlUnitTest(FILE* out,
3396 Send(String::Format("event=TestPartResult&file=%s&line=%d&message=",
3428 int sockfd_; // socket file descriptor
3505 // Pushes the given source file location and message onto a per-thread
3508 ScopedTrace::ScopedTrace(const char* file, int line, const Message& message) {
3510 trace.file = file;
3763 msg << "\n" << internal::FormatFileLocation(trace.file, trace.line)
4277 // Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file
4278 // if the variable is present. If a file already exists at this location, this
4279 // function will write over it. If the variable is present, but the file cannot
4284 FILE* const file = posix::FOpen(test_shard_file, "w");
4285 if (file == NULL) {
4287 "Could not write to the test shard status file \"%s\" "
4293 fclose(file);
4736 " Generate an XML report in the given directory or with the given file\n"