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

Side by Side Diff: chrome/test/data/webui/md_history/history_item_test.js

Issue 2084843002: [MD History] Add history-list-container between app and history lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tim_toolbar
Patch Set: rebase Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('md_history.history_item_test', function() { 5 cr.define('md_history.history_item_test', function() {
6 function registerTests() { 6 function registerTests() {
7 suite('history-item', function() { 7 suite('history-item', function() {
8 var element; 8 var element;
9 var TEST_HISTORY_RESULTS; 9 var TEST_HISTORY_RESULTS;
10 var SEARCH_HISTORY_RESULTS; 10 var SEARCH_HISTORY_RESULTS;
11 11
12 suiteSetup(function() { 12 suiteSetup(function() {
13 element = $('history-app').$['history-list']; 13 element = $('history-app').$['history'].$['infinite-list'];
14 TEST_HISTORY_RESULTS = [ 14 TEST_HISTORY_RESULTS = [
15 createHistoryEntry('2016-03-16 10:00', 'http://www.google.com'), 15 createHistoryEntry('2016-03-16 10:00', 'http://www.google.com'),
16 createHistoryEntry('2016-03-16 9:00', 'http://www.example.com'), 16 createHistoryEntry('2016-03-16 9:00', 'http://www.example.com'),
17 createHistoryEntry('2016-03-16 7:01', 'http://www.badssl.com'), 17 createHistoryEntry('2016-03-16 7:01', 'http://www.badssl.com'),
18 createHistoryEntry('2016-03-16 7:00', 'http://www.website.com'), 18 createHistoryEntry('2016-03-16 7:00', 'http://www.website.com'),
19 createHistoryEntry('2016-03-16 4:00', 'http://www.website.com'), 19 createHistoryEntry('2016-03-16 4:00', 'http://www.website.com'),
20 createHistoryEntry('2016-03-15 11:00', 'http://www.example.com'), 20 createHistoryEntry('2016-03-15 11:00', 'http://www.example.com'),
21 ]; 21 ];
22 22
23 SEARCH_HISTORY_RESULTS = [ 23 SEARCH_HISTORY_RESULTS = [
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 teardown(function() { 103 teardown(function() {
104 element.historyData_ = []; 104 element.historyData_ = [];
105 element.searchedTerm = ''; 105 element.searchedTerm = '';
106 }); 106 });
107 }); 107 });
108 } 108 }
109 return { 109 return {
110 registerTests: registerTests 110 registerTests: registerTests
111 }; 111 };
112 }); 112 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/md_history/history_grouped_list_test.js ('k') | chrome/test/data/webui/md_history/history_list_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698