summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 19:42:17 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 19:42:17 +0000
commit5a80586e9d98cf8b4ead40e181b310f6cb518ee5 (patch)
treec31d201ed8719623f5f0a52e0b82f10f96090209
parent4044e353068f6f5be8b7a0d8d8a2bc204a9910c6 (diff)
downloadchromium_src-5a80586e9d98cf8b4ead40e181b310f6cb518ee5.zip
chromium_src-5a80586e9d98cf8b4ead40e181b310f6cb518ee5.tar.gz
chromium_src-5a80586e9d98cf8b4ead40e181b310f6cb518ee5.tar.bz2
Enable unit tests in browser/web_applications/web_app_unittest.cc. I forgot this in r50897.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2863026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51024 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/web_applications/web_app_unittest.cc2
-rw-r--r--chrome/chrome_tests.gypi1
2 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index 5908e88..c1a487f 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -57,7 +57,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
TEST_F(WebApplicationTest, GetDataDir) {
FilePath test_path(FILE_PATH_LITERAL("/path/to/test"));
- FilePath result = web_app::GetDataDir(FilePath(FILE_PATH_LITERAL(test_path)));
+ FilePath result = web_app::GetDataDir(test_path);
test_path = test_path.AppendASCII("Web Applications");
EXPECT_EQ(test_path.value(), result.value());
}
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 10c8633..9d20fd6 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -1000,6 +1000,7 @@
'browser/views/info_bubble_unittest.cc',
'browser/views/status_icons/status_tray_win_unittest.cc',
'browser/visitedlink_unittest.cc',
+ 'browser/web_applications/web_app_unittest.cc',
'browser/webdata/web_data_service_test_util.h',
'browser/webdata/web_data_service_unittest.cc',
'browser/webdata/web_database_unittest.cc',