OLD | NEW |
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 |
OLD | NEW |