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

Unified Diff: tests/html/audiobuffersourcenode_test.dart

Issue 11043013: Provide a fallback for AudioBufferSourceNode.start to noteOn and stop to (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/templates/html/dart2js/impl_AudioBufferSourceNode.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/audiobuffersourcenode_test.dart
===================================================================
--- tests/html/audiobuffersourcenode_test.dart (revision 0)
+++ tests/html/audiobuffersourcenode_test.dart (working copy)
@@ -0,0 +1,17 @@
+#library('AudioBufferSourceNodeTest');
+#import('../../pkg/unittest/unittest.dart');
+#import('../../pkg/unittest/html_config.dart');
+#import('dart:html');
+
+main() {
+
+ useHtmlConfiguration();
+
+ test('createBuffer', () {
+ var ctx = new AudioContext();
+ AudioBufferSourceNode node = ctx.createBufferSource();
blois 2012/10/02 23:43:25 I don't think this test works on all (many?) platf
Emily Fortuna 2012/10/02 23:59:43 It works on Chrome and Safari 6, but I had forgott
+ node.start(ctx.currentTime, 0, 2);
+ node.stop(ctx.currentTime + 2);
+ expect(node is AudioBufferSourceNode);
+ });
+}
« no previous file with comments | « lib/html/templates/html/dart2js/impl_AudioBufferSourceNode.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698