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

Side by Side Diff: remoting/webapp/crd/js/menu_button_unittest.js

Issue 984203003: Move mocks and unittest JS files to sit alongside production code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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
« no previous file with comments | « remoting/webapp/crd/js/l10n_unittest.js ('k') | remoting/webapp/crd/js/mock_client_plugin.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 (function() { 5 (function() {
6 6
7 'use strict'; 7 'use strict';
8 8
9 /** @type {(sinon.Spy|function():void)} */ 9 /** @type {(sinon.Spy|function():void)} */
10 var onShow = null; 10 var onShow = null;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ok(style.backgroundImage == 'none'); 85 ok(style.backgroundImage == 'none');
86 remoting.MenuButton.select(element, true); 86 remoting.MenuButton.select(element, true);
87 style = window.getComputedStyle(element); 87 style = window.getComputedStyle(element);
88 ok(style.backgroundImage != 'none'); 88 ok(style.backgroundImage != 'none');
89 remoting.MenuButton.select(element, false); 89 remoting.MenuButton.select(element, false);
90 style = window.getComputedStyle(element); 90 style = window.getComputedStyle(element);
91 ok(style.backgroundImage == 'none'); 91 ok(style.backgroundImage == 'none');
92 }); 92 });
93 93
94 }()); 94 }());
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/l10n_unittest.js ('k') | remoting/webapp/crd/js/mock_client_plugin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698