| 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();
|
| + node.start(ctx.currentTime, 0, 2);
|
| + node.stop(ctx.currentTime + 2);
|
| + expect(node is AudioBufferSourceNode);
|
| + });
|
| +}
|
|
|