diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 20:46:06 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 20:46:06 +0000 |
commit | ceeb87e90224c8743995b999661eede7c31b6346 (patch) | |
tree | 459f0698b022e42ead17cb742be9ff7f9d1b441f /chrome/test/tab_switching/tab_switching_test.cc | |
parent | f3208bd4c625527d854c3bf49908352199488c48 (diff) | |
download | chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.zip chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.tar.gz chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.tar.bz2 |
Get rid of kPathSeparator on windows. Port some wstring function to take FilePaths. Re-enable relevant posix unit tests.
Review URL: http://codereview.chromium.org/12893
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/tab_switching/tab_switching_test.cc')
-rw-r--r-- | chrome/test/tab_switching/tab_switching_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/tab_switching/tab_switching_test.cc b/chrome/test/tab_switching/tab_switching_test.cc index 14a993a..612181c 100644 --- a/chrome/test/tab_switching/tab_switching_test.cc +++ b/chrome/test/tab_switching/tab_switching_test.cc @@ -33,7 +33,7 @@ class TabSwitchingUITest : public UITest { file_util::UpOneDirectory(&path_prefix_); file_util::AppendToPath(&path_prefix_, L"data"); file_util::AppendToPath(&path_prefix_, L"tab_switching"); - path_prefix_ += file_util::kPathSeparator; + path_prefix_ += FilePath::kSeparators[0]; show_window_ = true; } @@ -120,7 +120,7 @@ class TabSwitchingUITest : public UITest { for (int i = 0; i < arraysize(files); ++i) { file_name = path_prefix_; file_name += files[i]; - file_name += file_util::kPathSeparator; + file_name += FilePath::kSeparators[0]; file_name += L"index.html"; browser_proxy_->AppendTab(net::FilePathToFileURL(file_name)); number_of_new_tabs_opened++; |