Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4320)

Unified Diff: chrome/common/extensions/extension_resource_unittest.cc

Issue 264046: Update browser actions api to be like new design doc. (Closed)
Patch Set: rebase Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_resource_unittest.cc
diff --git a/chrome/common/extensions/extension_resource_unittest.cc b/chrome/common/extensions/extension_resource_unittest.cc
index c8ba9764cffdaf0eeb75ec4f771f87286a9c4120..7cc6ccf40fb86dbe8cc715f6611d13e3949454b5 100644
--- a/chrome/common/extensions/extension_resource_unittest.cc
+++ b/chrome/common/extensions/extension_resource_unittest.cc
@@ -67,8 +67,10 @@ TEST(ExtensionResourceTest, CreateWithBothResourcesOnDisk) {
ExtensionResource resource(temp.path(), FilePath().AppendASCII(filename));
FilePath resolved_path = resource.GetFilePath();
- EXPECT_EQ(l10n_path.AppendASCII(filename).value(), resolved_path.value());
- EXPECT_EQ(temp.path().value(), resource.extension_root().value());
- EXPECT_EQ(FilePath().AppendASCII(filename).value(),
- resource.relative_path().value());
+ EXPECT_EQ(ToLower(l10n_path.AppendASCII(filename).value()),
+ ToLower(resolved_path.value()));
+ EXPECT_EQ(ToLower(temp.path().value()),
+ ToLower(resource.extension_root().value()));
+ EXPECT_EQ(ToLower(FilePath().AppendASCII(filename).value()),
+ ToLower(resource.relative_path().value()));
}
« no previous file with comments | « chrome/common/extensions/docs/browserAction.html ('k') | chrome/renderer/extensions/extension_process_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698