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

Side by Side Diff: chrome/test/perf/indexeddb_uitest.cc

Issue 23509002: Factor out a perf test result printer method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 7 years, 3 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 | « chrome/test/perf/frame_rate/frame_rate_tests.cc ('k') | chrome/test/perf/mach_ports_test.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/test/test_timeouts.h" 8 #include "base/test/test_timeouts.h"
9 #include "chrome/common/automation_constants.h" 9 #include "chrome/common/automation_constants.h"
10 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
11 #include "chrome/test/automation/tab_proxy.h" 11 #include "chrome/test/automation/tab_proxy.h"
12 #include "chrome/test/perf/perf_test.h" 12 #include "chrome/test/perf/perf_test.h"
13 #include "chrome/test/ui/javascript_test_util.h" 13 #include "chrome/test/ui/javascript_test_util.h"
14 #include "chrome/test/ui/ui_perf_test.h" 14 #include "chrome/test/ui/ui_perf_test.h"
15 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
16 #include "testing/perf/perf_test.h"
16 #include "url/gurl.h" 17 #include "url/gurl.h"
17 18
18 namespace { 19 namespace {
19 20
20 static const base::FilePath::CharType kStartFile[] = 21 static const base::FilePath::CharType kStartFile[] =
21 FILE_PATH_LITERAL("perf_test.html"); 22 FILE_PATH_LITERAL("perf_test.html");
22 23
23 class IndexedDBTest : public UIPerfTest { 24 class IndexedDBTest : public UIPerfTest {
24 public: 25 public:
25 typedef std::map<std::string, std::string> ResultsMap; 26 typedef std::map<std::string, std::string> ResultsMap;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 109
109 RunTest(); 110 RunTest();
110 } 111 }
111 112
112 TEST_F(IndexedDBReferenceTest, Perf) { 113 TEST_F(IndexedDBReferenceTest, Perf) {
113 114
114 RunTest(); 115 RunTest();
115 } 116 }
116 117
117 } // namespace 118 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/perf/frame_rate/frame_rate_tests.cc ('k') | chrome/test/perf/mach_ports_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698