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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/unit-tests/jstest-test.html

Issue 2567713002: Separating layout test utilities into audit-util.js (Closed)
Patch Set: Created 4 years 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>A simple unit testing for audio-testing.js and js-test.js</title> 4 <title>A simple unit testing for audio-testing.js and js-test.js</title>
5 <script src="../../resources/js-test.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script src="../resources/audit-util.js"></script>
6 <script src="../resources/audio-testing.js"></script> 7 <script src="../resources/audio-testing.js"></script>
7 </head> 8 </head>
8 <body> 9 <body>
9 <script> 10 <script>
10 description('A simple unit testing for audio-testing.js and js-test.js'); 11 description('A simple unit testing for audio-testing.js and js-test.js');
11 window.jsTestIsAsync = true; 12 window.jsTestIsAsync = true;
12 13
13 var audit = Audit.createTaskRunner(); 14 var audit = Audit.createTaskRunner();
14 15
15 audit.defineTask('foo', function (taskDone) { 16 audit.defineTask('foo', function (taskDone) {
(...skipping 22 matching lines...) Expand all
38 39
39 audit.defineTask("finish", function (done) { 40 audit.defineTask("finish", function (done) {
40 finishJSTest(); 41 finishJSTest();
41 done(); 42 done();
42 }); 43 });
43 44
44 audit.runTasks(); 45 audit.runTasks();
45 </script> 46 </script>
46 </body> 47 </body>
47 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698