Chromium Code Reviews| Index: tests/html/htmlaudioelement_test.dart |
| diff --git a/tests/html/htmlaudioelement_test.dart b/tests/html/htmlaudioelement_test.dart |
| deleted file mode 100644 |
| index b3bcc08f75db99693d6fcba2ec4d8e7a9378ac49..0000000000000000000000000000000000000000 |
| --- a/tests/html/htmlaudioelement_test.dart |
| +++ /dev/null |
| @@ -1,25 +0,0 @@ |
| -library AudioElementTest; |
|
Emily Fortuna
2012/11/21 00:27:08
why delete this test? Why don't we just rename it?
blois
2012/11/21 00:48:55
Rename it to audioelement_test? I think someone al
|
| -import '../../pkg/unittest/lib/unittest.dart'; |
| -import '../../pkg/unittest/lib/html_config.dart'; |
| -import 'dart:html'; |
| - |
| -main() { |
| - |
| - useHtmlConfiguration(); |
| - |
| - var isAudioElement = |
| - predicate((x) => x is AudioElement, 'is an AudioElement'); |
| - |
| - test('constructorTest1', () { |
| - var audio = new AudioElement(); // would be new Audio() in JS |
| - expect(audio, isNotNull); |
| - expect(audio, isAudioElement); |
| - }); |
| - |
| - test('constructorTest2', () { |
| - var audio = new AudioElement('hahaURL'); |
| - expect(audio, isNotNull); |
| - expect(audio, isAudioElement); |
| - expect(audio.src.indexOf('hahaURL'), greaterThanOrEqualTo(0)); |
| - }); |
| -} |