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

Side by Side Diff: chrome/browser/locale_tests_uitest.cc

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 years, 11 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/browser/images_uitest.cc ('k') | chrome/browser/net/chrome_url_request_context.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/test/ui/ui_test.h" 5 #include "chrome/test/ui/ui_test.h"
6 6
7 class LocaleTestsDa : public UITest { 7 class LocaleTestsDa : public UITest {
8 public: 8 public:
9 LocaleTestsDa() : UITest() { 9 LocaleTestsDa() : UITest() {
10 launch_arguments_.append(L" --lang=da"); 10 launch_arguments_.AppendSwitchWithValue(L"lang", L"da");
11 } 11 }
12 }; 12 };
13 13
14 class LocaleTestsHe : public UITest { 14 class LocaleTestsHe : public UITest {
15 public: 15 public:
16 LocaleTestsHe() : UITest() { 16 LocaleTestsHe() : UITest() {
17 launch_arguments_.append(L" --lang=he"); 17 launch_arguments_.AppendSwitchWithValue(L"lang", L"he");
18 } 18 }
19 }; 19 };
20 20
21 class LocaleTestsZhTw : public UITest { 21 class LocaleTestsZhTw : public UITest {
22 public: 22 public:
23 LocaleTestsZhTw() : UITest() { 23 LocaleTestsZhTw() : UITest() {
24 launch_arguments_.append(L" --lang=zh-tw"); 24 launch_arguments_.AppendSwitchWithValue(L"lang", L"zh-tw");
25 } 25 }
26 }; 26 };
27 27
28 TEST_F(LocaleTestsDa, TestStart) { 28 TEST_F(LocaleTestsDa, TestStart) {
29 // Just making sure we can start/shutdown cleanly. 29 // Just making sure we can start/shutdown cleanly.
30 } 30 }
31 31
32 TEST_F(LocaleTestsHe, TestStart) { 32 TEST_F(LocaleTestsHe, TestStart) {
33 // Just making sure we can start/shutdown cleanly. 33 // Just making sure we can start/shutdown cleanly.
34 } 34 }
35 35
36 TEST_F(LocaleTestsZhTw, TestStart) { 36 TEST_F(LocaleTestsZhTw, TestStart) {
37 // Just making sure we can start/shutdown cleanly. 37 // Just making sure we can start/shutdown cleanly.
38 } 38 }
39 39
OLDNEW
« no previous file with comments | « chrome/browser/images_uitest.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698