summaryrefslogtreecommitdiffstats
path: root/chrome/common/logging_chrome_uitest.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 00:26:58 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 00:26:58 +0000
commit73e2348a1539ca2c18980817474a8cc4235b8be5 (patch)
treea056d32b521a2a9567df058eb55161a65fa27151 /chrome/common/logging_chrome_uitest.cc
parent97341c93880e3e3299d81affcb9eecf5f0b3c520 (diff)
downloadchromium_src-73e2348a1539ca2c18980817474a8cc4235b8be5.zip
chromium_src-73e2348a1539ca2c18980817474a8cc4235b8be5.tar.gz
chromium_src-73e2348a1539ca2c18980817474a8cc4235b8be5.tar.bz2
Reliability test porting: stringy stuff.
No functional change. This gets things compiling on linux, but it still needs some work before it can be run on linux. BUG=19085 Review URL: http://codereview.chromium.org/164352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/logging_chrome_uitest.cc')
-rw-r--r--chrome/common/logging_chrome_uitest.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index 1211f8c..fd3fcc6 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -45,8 +45,9 @@ namespace {
TEST_F(ChromeLoggingTest, LogFileName) {
SaveEnvironmentVariable(std::wstring());
- std::wstring filename = logging::GetLogFileName();
- ASSERT_NE(std::wstring::npos, filename.find(L"chrome_debug.log"));
+ FilePath filename = logging::GetLogFileName();
+ ASSERT_NE(FilePath::StringType::npos,
+ filename.value().find(FILE_PATH_LITERAL("chrome_debug.log")));
RestoreEnvironmentVariable();
}
@@ -55,8 +56,9 @@ TEST_F(ChromeLoggingTest, LogFileName) {
TEST_F(ChromeLoggingTest, EnvironmentLogFileName) {
SaveEnvironmentVariable(std::wstring(L"test value"));
- std::wstring filename = logging::GetLogFileName();
- ASSERT_EQ(std::wstring(L"test value"), filename);
+ FilePath filename = logging::GetLogFileName();
+ ASSERT_EQ(FilePath(FILE_PATH_LITERAL("test value")).value(),
+ filename.value());
RestoreEnvironmentVariable();
}