| OLD | NEW |
| 1 library AudioContextTest; | 1 library AudioContextTest; |
| 2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
| 3 import '../../pkg/unittest/lib/html_individual_config.dart'; | 3 import 'package:unittest/html_individual_config.dart'; |
| 4 import 'dart:html'; | 4 import 'dart:html'; |
| 5 import 'dart:typed_data'; | 5 import 'dart:typed_data'; |
| 6 import 'dart:web_audio'; | 6 import 'dart:web_audio'; |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 | 10 |
| 11 useHtmlIndividualConfiguration(); | 11 useHtmlIndividualConfiguration(); |
| 12 | 12 |
| 13 var isAudioContext = | 13 var isAudioContext = |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 expect(() => oscillator.type = 7, throws); | 104 expect(() => oscillator.type = 7, throws); |
| 105 expect(oscillator.type, equals('triangle')); | 105 expect(oscillator.type, equals('triangle')); |
| 106 | 106 |
| 107 expect(() => oscillator.type = ['heap object not a string'], throws); | 107 expect(() => oscillator.type = ['heap object not a string'], throws); |
| 108 expect(oscillator.type, equals('triangle')); | 108 expect(oscillator.type, equals('triangle')); |
| 109 } | 109 } |
| 110 }); | 110 }); |
| 111 }); | 111 }); |
| 112 } | 112 } |
| OLD | NEW |