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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.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>Test WaveShaper Copies Curve Data</title> 4 <title>Test WaveShaper Copies Curve Data</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 // Sample rate and number of frames are fairly arbitrary. We need to 13 // Sample rate and number of frames are fairly arbitrary. We need to
13 // render, however, at least 384 frames. 1024 is a nice small value. 14 // render, however, at least 384 frames. 1024 is a nice small value.
14 var sampleRate = 16000; 15 var sampleRate = 16000;
15 var renderFrames = 1024; 16 var renderFrames = 1024;
16 17
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 Should("Summary: ", success).summarize( 79 Should("Summary: ", success).summarize(
79 "Output correctly did not change with modified WaveShaper curve.", 80 "Output correctly did not change with modified WaveShaper curve.",
80 "Output incorrectly changed due to modified WaveShaper curve."); 81 "Output incorrectly changed due to modified WaveShaper curve.");
81 }).then(taskDone); 82 }).then(taskDone);
82 }); 83 });
83 84
84 audit.runTasks(); 85 audit.runTasks();
85 </script> 86 </script>
86 </body> 87 </body>
87 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698