OLD | NEW |
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 <stddef.h> |
| 6 |
5 #include "base/command_line.h" | 7 #include "base/command_line.h" |
6 #include "base/environment.h" | 8 #include "base/environment.h" |
| 9 #include "base/macros.h" |
7 #include "build/build_config.h" | 10 #include "build/build_config.h" |
8 #include "chrome/test/base/in_process_browser_test.h" | 11 #include "chrome/test/base/in_process_browser_test.h" |
9 #include "ui/base/ui_base_switches.h" | 12 #include "ui/base/ui_base_switches.h" |
10 | 13 |
11 namespace { | 14 namespace { |
12 | 15 |
13 // A class that over-writes the system locale only in a scope. To emulate the | 16 // A class that over-writes the system locale only in a scope. To emulate the |
14 // specified environment on Linux, this class over-writes a LC_ALL environment | 17 // specified environment on Linux, this class over-writes a LC_ALL environment |
15 // variable when creating a LocaleTest object and restore it with the original | 18 // variable when creating a LocaleTest object and restore it with the original |
16 // value when deleting the object. (This environment variable may affect other | 19 // value when deleting the object. (This environment variable may affect other |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // code here because they just verify we can start Chrome and shut it down | 107 // code here because they just verify we can start Chrome and shut it down |
105 // cleanly on these locales. | 108 // cleanly on these locales. |
106 IN_PROC_BROWSER_TEST_F(LocaleTestDanish, TestStart) { | 109 IN_PROC_BROWSER_TEST_F(LocaleTestDanish, TestStart) { |
107 } | 110 } |
108 | 111 |
109 IN_PROC_BROWSER_TEST_F(LocaleTestHebrew, TestStart) { | 112 IN_PROC_BROWSER_TEST_F(LocaleTestHebrew, TestStart) { |
110 } | 113 } |
111 | 114 |
112 IN_PROC_BROWSER_TEST_F(LocaleTestTraditionalChinese, TestStart) { | 115 IN_PROC_BROWSER_TEST_F(LocaleTestTraditionalChinese, TestStart) { |
113 } | 116 } |
OLD | NEW |