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