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

Side by Side Diff: base/test/launcher/test_results_tracker.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « base/test/launcher/test_launcher.h ('k') | base/test/multiprocess_test.h » ('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_LAUNCHER_TEST_RESULTS_TRACKER_H_ 5 #ifndef BASE_TEST_LAUNCHER_TEST_RESULTS_TRACKER_H_
6 #define BASE_TEST_LAUNCHER_TEST_RESULTS_TRACKER_H_ 6 #define BASE_TEST_LAUNCHER_TEST_RESULTS_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/test/launcher/test_result.h" 14 #include "base/test/launcher/test_result.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 16
17 class CommandLine;
18
19 namespace base { 17 namespace base {
20 18
19 class CommandLine;
21 class FilePath; 20 class FilePath;
22 21
23 // A helper class to output results. 22 // A helper class to output results.
24 // Note: as currently XML is the only supported format by gtest, we don't 23 // Note: as currently XML is the only supported format by gtest, we don't
25 // check output format (e.g. "xml:" prefix) here and output an XML file 24 // check output format (e.g. "xml:" prefix) here and output an XML file
26 // unconditionally. 25 // unconditionally.
27 // Note: we don't output per-test-case or total summary info like 26 // Note: we don't output per-test-case or total summary info like
28 // total failed_test_count, disabled_test_count, elapsed_time and so on. 27 // total failed_test_count, disabled_test_count, elapsed_time and so on.
29 // Only each test (testcase element in the XML) will have the correct 28 // Only each test (testcase element in the XML) will have the correct
30 // failed/disabled/elapsed_time information. Each test won't include 29 // failed/disabled/elapsed_time information. Each test won't include
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 // File handle of output file (can be NULL if no file). 103 // File handle of output file (can be NULL if no file).
105 FILE* out_; 104 FILE* out_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(TestResultsTracker); 106 DISALLOW_COPY_AND_ASSIGN(TestResultsTracker);
108 }; 107 };
109 108
110 } // namespace base 109 } // namespace base
111 110
112 #endif // BASE_TEST_LAUNCHER_TEST_RESULTS_TRACKER_H_ 111 #endif // BASE_TEST_LAUNCHER_TEST_RESULTS_TRACKER_H_
OLDNEW
« no previous file with comments | « base/test/launcher/test_launcher.h ('k') | base/test/multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698