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

Side by Side Diff: chrome/test/ui/ui_test.h

Issue 12150004: Category group support/Renamings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added destructor for CategoryFilter class per CQ failure. Created 7 years, 8 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
« no previous file with comments | « chrome/test/pyautolib/pyautolib.i ('k') | chrome/test/ui/ui_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 #ifndef CHROME_TEST_UI_UI_TEST_H_ 5 #ifndef CHROME_TEST_UI_UI_TEST_H_
6 #define CHROME_TEST_UI_UI_TEST_H_ 6 #define CHROME_TEST_UI_UI_TEST_H_
7 7
8 // This file provides a common base for running UI unit tests, which operate 8 // This file provides a common base for running UI unit tests, which operate
9 // the entire browser application in a separate process for holistic 9 // the entire browser application in a separate process for holistic
10 // functional testing. 10 // functional testing.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 // Appends a command-line switch (no associated value) to be passed to the 231 // Appends a command-line switch (no associated value) to be passed to the
232 // browser when launched. 232 // browser when launched.
233 void AppendBrowserLaunchSwitch(const char* name); 233 void AppendBrowserLaunchSwitch(const char* name);
234 234
235 // Appends a command-line switch with associated value to be passed to the 235 // Appends a command-line switch with associated value to be passed to the
236 // browser when launched. 236 // browser when launched.
237 void AppendBrowserLaunchSwitch(const char* name, const char* value); 237 void AppendBrowserLaunchSwitch(const char* name, const char* value);
238 238
239 // Pass-through to AutomationProxy::BeginTracing. 239 // Pass-through to AutomationProxy::BeginTracing.
240 bool BeginTracing(const std::string& categories); 240 bool BeginTracing(const std::string& category_patterns);
241 241
242 // Pass-through to AutomationProxy::EndTracing. 242 // Pass-through to AutomationProxy::EndTracing.
243 std::string EndTracing(); 243 std::string EndTracing();
244 244
245 protected: 245 protected:
246 // String to display when a test fails because the crash service isn't 246 // String to display when a test fails because the crash service isn't
247 // running. 247 // running.
248 static const wchar_t kFailedNoCrashService[]; 248 static const wchar_t kFailedNoCrashService[];
249 249
250 UITestBase(); 250 UITestBase();
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 #ifdef UNIT_TEST 437 #ifdef UNIT_TEST
438 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 438 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
439 439
440 template<typename T> 440 template<typename T>
441 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 441 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
442 return out << ptr.get(); 442 return out << ptr.get();
443 } 443 }
444 #endif // UNIT_TEST 444 #endif // UNIT_TEST
445 445
446 #endif // CHROME_TEST_UI_UI_TEST_H_ 446 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/pyautolib.i ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698