summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_ui_unittest.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 07:08:20 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 07:08:20 +0000
commit5a2721f67bee6843d521afa0ddea2034798372ef (patch)
tree654d1a82c716e6cbe0b83ae7d48edc840f36cad5 /chrome/browser/extensions/extension_ui_unittest.cc
parent9bf5939a5ee1c7b12494a191502b2d7a0bcebafe (diff)
downloadchromium_src-5a2721f67bee6843d521afa0ddea2034798372ef.zip
chromium_src-5a2721f67bee6843d521afa0ddea2034798372ef.tar.gz
chromium_src-5a2721f67bee6843d521afa0ddea2034798372ef.tar.bz2
Change extension id format back to mp-decimal, and change the
length to 32 chars (exactly 128 bits). Review URL: http://codereview.chromium.org/126074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_ui_unittest.cc')
-rw-r--r--chrome/browser/extensions/extension_ui_unittest.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/browser/extensions/extension_ui_unittest.cc b/chrome/browser/extensions/extension_ui_unittest.cc
index 2b1115b..f5615cf 100644
--- a/chrome/browser/extensions/extension_ui_unittest.cc
+++ b/chrome/browser/extensions/extension_ui_unittest.cc
@@ -67,14 +67,16 @@ TEST(ExtensionUITest, GenerateExtensionsJSONData) {
// Test Extension1
extension_path = data_test_dir_path.AppendASCII("extensions")
.AppendASCII("good")
- .AppendASCII("extension1")
- .AppendASCII("1");
+ .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj")
+ .AppendASCII("1.0.0.0");
std::vector<ExtensionPage> pages;
- pages.push_back(ExtensionPage(GURL("chrome-extension://foo/bar.html"),
- 42, 88));
- pages.push_back(ExtensionPage(GURL("chrome-extension://hot/dog.html"),
- 0, 0));
+ pages.push_back(ExtensionPage(
+ GURL("chrome-extension://behllobkkfkfnphdnhnkndlbkcpglgmj/bar.html"),
+ 42, 88));
+ pages.push_back(ExtensionPage(
+ GURL("chrome-extension://behllobkkfkfnphdnhnkndlbkcpglgmj/dog.html"),
+ 0, 0));
expected_output_path = data_test_dir_path.AppendASCII("extensions")
.AppendASCII("ui")
@@ -87,7 +89,7 @@ TEST(ExtensionUITest, GenerateExtensionsJSONData) {
// Test Extension2
extension_path = data_test_dir_path.AppendASCII("extensions")
.AppendASCII("good")
- .AppendASCII("extension2")
+ .AppendASCII("hpiknbiabeeppbpihjehijgoemciehgk")
.AppendASCII("2");
expected_output_path = data_test_dir_path.AppendASCII("extensions")
@@ -104,7 +106,7 @@ TEST(ExtensionUITest, GenerateExtensionsJSONData) {
// Test Extension3
extension_path = data_test_dir_path.AppendASCII("extensions")
.AppendASCII("good")
- .AppendASCII("extension3")
+ .AppendASCII("bjafgdebaacbbbecmhlhpofkepfkgcpa")
.AppendASCII("1.0");
expected_output_path = data_test_dir_path.AppendASCII("extensions")