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

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

Issue 2603303002: [MD Bookmarks] Add UI for Material Bookmarks. (Closed)
Patch Set: Created 3 years, 12 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/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 d92fe1d10613ba643efa5d11cb47645c17a9cbb6..2f1791650425c0f1eb6d9888071a0bab95c9ffb9 100644
--- a/chrome/test/data/webui/md_bookmarks/store_test.js
+++ b/chrome/test/data/webui/md_bookmarks/store_test.js
@@ -26,7 +26,7 @@ suite('<bookmarks-store>', function() {
store.setupStore_(TEST_TREE);
});
- test('initNodes inserts nodes into idToNodeMap', function(){
+ test('mapNodes inserts nodes into idToNodeMap', function(){
tsergeant 2017/01/03 23:31:17 Undo all changes to this file. These were comments
jiaxi 2017/01/04 02:50:16 Done.
assertEquals(TEST_TREE, store.idToNodeMap_['0']);
assertEquals(TEST_TREE.children[0], store.idToNodeMap_['1']);
assertEquals(TEST_TREE.children[0].children[0], store.idToNodeMap_['2']);
@@ -35,7 +35,7 @@ suite('<bookmarks-store>', function() {
assertEquals(TEST_TREE.children[2], store.idToNodeMap_['5']);
});
- test('changing selectedId changes the selectedNode', function(){
+ test('changing selectedId is changing the selectedNode', function(){
store.selectedId = '0';
assertEquals(TEST_TREE, store.selectedNode);
store.selectedId = '1';
@@ -87,7 +87,7 @@ suite('<bookmarks-store>', function() {
assertFalse(store.idToNodeMap_['3'].isSelected);
});
- test('store updates on open and close', function() {
+ test('store update on folder open and closed', function() {
// All folders are open by default.
for (var id in store.idToNodeMap_) {
if (store.idToNodeMap_[id].url)

Powered by Google App Engine
This is Rietveld 408576698