summaryrefslogtreecommitdiffstats
path: root/chrome/test/accessibility
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 19:21:29 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 19:21:29 +0000
commitf937fdab0eb469bc99ba79db3e66e30ba5d02fa5 (patch)
tree7a0b209e1e2ce7d6093b3a9dafda1b1defee4a8e /chrome/test/accessibility
parentda27100a6ff33610a8cbcc7f8ea142c0446d1266 (diff)
downloadchromium_src-f937fdab0eb469bc99ba79db3e66e30ba5d02fa5.zip
chromium_src-f937fdab0eb469bc99ba79db3e66e30ba5d02fa5.tar.gz
chromium_src-f937fdab0eb469bc99ba79db3e66e30ba5d02fa5.tar.bz2
Fix two tests that expected en-US locale and were failing otherwise.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/accessibility')
-rw-r--r--chrome/test/accessibility/accessibility_tests.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/test/accessibility/accessibility_tests.cc b/chrome/test/accessibility/accessibility_tests.cc
index c488986..0018519 100644
--- a/chrome/test/accessibility/accessibility_tests.cc
+++ b/chrome/test/accessibility/accessibility_tests.cc
@@ -4,14 +4,17 @@
#include <Objbase.h>
#include <Oleacc.h>
+
+#include "base/command_line.h"
+#include "base/file_util.h"
+#include "base/win_util.h"
+#include "chrome/app/chrome_dll_resource.h"
+#include "chrome/common/chrome_switches.h"
#include "chrome/test/accessibility/accessibility_util.h"
#include "chrome/test/ui/ui_test.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
-#include "chrome/app/chrome_dll_resource.h"
-#include "base/win_util.h"
-#include "base/file_util.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
@@ -25,6 +28,9 @@ class AccessibilityTest : public UITest {
AccessibilityTest() {
show_window_ = true;
CoInitialize(NULL);
+ CommandLine::AppendSwitchWithValue(&launch_arguments_,
+ switches::kLang,
+ L"en-us");
}
~AccessibilityTest() {
CoUninitialize();