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