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

Unified Diff: tests/html/htmlaudioelement_test.dart

Issue 11280103: Splitting out the Audio library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding missing lib registrations Created 8 years, 1 month 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 | « tests/html/html.status ('k') | tools/create_sdk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-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));
- });
-}
« no previous file with comments | « tests/html/html.status ('k') | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698