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

Unified Diff: chrome/test/data/webui/md_bookmarks/store_test.js

Issue 2666033002: [MD Bookmarks] Add edit folder. (Closed)
Patch Set: Test with mockinteractions in list test. Created 3 years, 10 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
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_bookmarks/store_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/store_test.js b/chrome/test/data/webui/md_bookmarks/store_test.js
index 67b65c14df8e7bdc85a59b0e378c576602fd826e..0c94b393957a830936003a75bd7c716a81bae1a0 100644
--- a/chrome/test/data/webui/md_bookmarks/store_test.js
+++ b/chrome/test/data/webui/md_bookmarks/store_test.js
@@ -223,6 +223,12 @@ suite('<bookmarks-store>', function() {
assertEquals('http://www.google.com', store.idToNodeMap_['2'].url);
});
+ test('folder gets updated after renaming', function() {
+ store.onBookmarkChanged_('3', {'title': 'Main Folder'});
+ assertEquals('Main Folder', store.idToNodeMap_['3'].title);
+ assertEquals(undefined, store.idToNodeMap_['3'].url);
+ });
+
//////////////////////////////////////////////////////////////////////////////
// search tests:
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698