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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/waveshaper-simple.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
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/waveshaper-oversample-4x.html ('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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Simple Tests of WaveShaperNode</title> 4 <title>Simple Tests of WaveShaperNode</title>
5 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.js"></script>
7 <script src="resources/audit-util.js"></script>
7 <script src="resources/audio-testing.js"></script> 8 <script src="resources/audio-testing.js"></script>
8 </head> 9 </head>
9 10
10 <body> 11 <body>
11 <script> 12 <script>
12 var audit = Audit.createTaskRunner(); 13 var audit = Audit.createTaskRunner();
13 14
14 audit.defineTask("simple", function (taskDone) { 15 audit.defineTask("simple", function (taskDone) {
15 var context = new OfflineAudioContext(1, 1, 48000); 16 var context = new OfflineAudioContext(1, 1, 48000);
16 var shaper = context.createWaveShaper(); 17 var shaper = context.createWaveShaper();
(...skipping 22 matching lines...) Expand all
39 shaper.curve = null; 40 shaper.curve = null;
40 Should("Waveshaper.curve = null", shaper.curve).beEqualTo(null); 41 Should("Waveshaper.curve = null", shaper.curve).beEqualTo(null);
41 42
42 taskDone(); 43 taskDone();
43 }); 44 });
44 45
45 audit.runTasks(); 46 audit.runTasks();
46 </script> 47 </script>
47 </body> 48 </body>
48 </html> 49 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/waveshaper-oversample-4x.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698