Home | History | Annotate | Download | only in src

Lines Matching refs:FILE

148 // The default output file for XML output.
155 // The environment variable name for the test shard status file.
206 "by a colon and an output file name or directory. A directory "
210 "within that directory, with file-names based on the test "
322 const char* file,
325 : data_(new AssertHelperData(type, file, line, message)) {
335 AddTestPartResult(data_->type, data_->file, data_->line,
376 // Returns the name of the requested output file, or the default if none
1933 NULL, // No info about the source file where the exception occurred.
2147 const char* file, int line) {
2159 fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(),
2966 // This class generates an XML output file.
3011 static void PrintXmlTestCase(FILE* out, const TestCase& test_case);
3014 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3022 // The output file.
3032 fprintf(stderr, "XML output file may not be null\n");
3041 FILE* xmlout = NULL;
3060 "Unable to open file \"%s\"\n",
3224 void XmlUnitTestResultPrinter::PrintXmlTestCase(FILE* out,
3245 void XmlUnitTestResultPrinter::PrintXmlUnitTest(FILE* out,
3281 // Pushes the given source file location and message onto a per-thread
3284 ScopedTrace::ScopedTrace(const char* file, int line, const Message& message) {
3286 trace.file = file;
3553 msg << "\n" << internal::FormatFileLocation(trace.file, trace.line)
4035 // Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file
4036 // if the variable is present. If a file already exists at this location, this
4037 // function will write over it. If the variable is present, but the file cannot
4042 FILE* const file = posix::FOpen(test_shard_file, "w");
4043 if (file == NULL) {
4045 "Could not write to the test shard status file \"%s\" "
4051 fclose(file);
4493 " Generate an XML report in the given directory or with the given file\n"