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/print_preview.js

Issue 8371017: Print Preview: Changing the structure of the html/css. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating unittests Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/webui.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 * Test fixture for print preview WebUI testing. 6 * Test fixture for print preview WebUI testing.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 * @constructor 8 * @constructor
9 */ 9 */
10 function PrintPreviewWebUITest() {} 10 function PrintPreviewWebUITest() {}
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 }, 440 },
441 }; 441 };
442 442
443 // Test that error message is displayed when plugin doesn't exist. 443 // Test that error message is displayed when plugin doesn't exist.
444 TEST_F('PrintPreviewNoPDFWebUITest', 'TestErrorMessage', function() { 444 TEST_F('PrintPreviewNoPDFWebUITest', 'TestErrorMessage', function() {
445 var errorButton = $('error-button'); 445 var errorButton = $('error-button');
446 assertNotEquals(null, errorButton); 446 assertNotEquals(null, errorButton);
447 expectFalse(errorButton.disabled); 447 expectFalse(errorButton.disabled);
448 var errorText = $('custom-message'); 448 var errorText = $('custom-message');
449 assertNotEquals(null, errorText); 449 assertNotEquals(null, errorText);
450 expectFalse(errorText.classList.contains('hidden')); 450 expectFalse(errorText.hidden);
451 }); 451 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/webui.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698