Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: base/test/gtest_xml_unittest_result_printer.h

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/gtest_util.cc ('k') | base/test/histogram_tester.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_ 5 #ifndef BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_
6 #define BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_ 6 #define BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/googletest/include/gtest/gtest.h"
13 13
14 namespace base { 14 namespace base {
15 15
16 class FilePath; 16 class FilePath;
17 17
18 // Generates an XML output file. Format is very close to GTest, but has 18 // Generates an XML output file. Format is very close to GTest, but has
19 // extensions needed by the test launcher. 19 // extensions needed by the test launcher.
20 class XmlUnitTestResultPrinter : public testing::EmptyTestEventListener { 20 class XmlUnitTestResultPrinter : public testing::EmptyTestEventListener {
21 public: 21 public:
22 XmlUnitTestResultPrinter(); 22 XmlUnitTestResultPrinter();
(...skipping 10 matching lines...) Expand all
33 void OnTestCaseEnd(const testing::TestCase& test_case) override; 33 void OnTestCaseEnd(const testing::TestCase& test_case) override;
34 34
35 FILE* output_file_; 35 FILE* output_file_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(XmlUnitTestResultPrinter); 37 DISALLOW_COPY_AND_ASSIGN(XmlUnitTestResultPrinter);
38 }; 38 };
39 39
40 } // namespace base 40 } // namespace base
41 41
42 #endif // BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_ 42 #endif // BASE_TEST_GTEST_XML_UNITTEST_RESULT_PRINTER_H_
OLDNEW
« no previous file with comments | « base/test/gtest_util.cc ('k') | base/test/histogram_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698