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

Side by Side Diff: chrome/test/data/pdf/material_elements_test.js

Issue 2949883006: PDFExtensionTest: Stop using chrome:// URL to load mock-interactions.js (Closed)
Patch Set: Add dependency Created 3 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 /**
6 * Standalone unit tests of the PDF Polymer elements. 6 * Standalone unit tests of the PDF Polymer elements.
7 */ 7 */
8 var tests = [ 8 var tests = [
9 /** 9 /**
10 * Test that viewer-page-selector reacts correctly to text entry. The page 10 * Test that viewer-page-selector reacts correctly to text entry. The page
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 assertEvent('fit-to-width'); 188 assertEvent('fit-to-width');
189 189
190 // Tap 4: Fire fit-to-page again. 190 // Tap 4: Fire fit-to-page again.
191 MockInteractions.tap(fab); 191 MockInteractions.tap(fab);
192 assertEvent('fit-to-page'); 192 assertEvent('fit-to-page');
193 193
194 chrome.test.succeed(); 194 chrome.test.succeed();
195 } 195 }
196 ]; 196 ];
197 197
198 importTestHelpers().then(function() { 198 chrome.test.runTests(tests);
199 chrome.test.runTests(tests);
200 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698