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

Side by Side Diff: ui/webui/resources/js/cr/link_controller_test.html

Issue 16831021: Convert asynchronous closure test in cr.ui framework to a browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- TODO(arv): Check in Closue unit tests and make this run as part of the 4 <!-- TODO(arv): Check in Closue unit tests and make this run as part of the
5 tests --> 5 tests -->
6 <script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.j s"></script> 6 <script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.j s"></script>
7 <script src="../cr.js"></script> 7 <script src="../cr.js"></script>
8 <script src="linkcontroller.js"></script> 8 <script src="link_controller.js"></script>
9 <script> 9 <script>
10 10
11 goog.require('goog.testing.MockControl'); 11 goog.require('goog.testing.MockControl');
12 goog.require('goog.testing.PropertyReplacer'); 12 goog.require('goog.testing.PropertyReplacer');
13 goog.require('goog.testing.jsunit'); 13 goog.require('goog.testing.jsunit');
14 goog.require('goog.testing.mockmatchers'); 14 goog.require('goog.testing.mockmatchers');
15 15
16 </script> 16 </script>
17 </head> 17 </head>
18 <body> 18 <body>
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 lc.openUrls([URL1, URL2], cr.LinkKind.INCOGNITO); 345 lc.openUrls([URL1, URL2], cr.LinkKind.INCOGNITO);
346 callbackMatcher.arg({id: WINDOW_ID}); 346 callbackMatcher.arg({id: WINDOW_ID});
347 347
348 mockControl.$verifyAll(); 348 mockControl.$verifyAll();
349 } 349 }
350 350
351 </script> 351 </script>
352 </body> 352 </body>
353 </html> 353 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698