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

Unified Diff: tests/html/contentelement_test.dart

Issue 10967028: Adding constructor to ContentElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/scripts/systemhtml.py ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/contentelement_test.dart
diff --git a/tests/html/transferables_test.dart b/tests/html/contentelement_test.dart
similarity index 55%
copy from tests/html/transferables_test.dart
copy to tests/html/contentelement_test.dart
index ff1b9be4adba1708a13fb93f0c67e2a8686d045f..54d9a4fe2f7acd0bfea44b2c12110d33b746f542 100644
--- a/tests/html/transferables_test.dart
+++ b/tests/html/contentelement_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library('TransferableTest');
+#library('contentelement_test');
#import('../../pkg/unittest/unittest.dart');
#import('../../pkg/unittest/html_config.dart');
#import('dart:html');
@@ -10,11 +10,8 @@
main() {
useHtmlConfiguration();
- test('TransferableTest', () {
- window.on.message.add(expectAsync1((messageEvent) {
- expect(messageEvent.data, new isInstanceOf<ArrayBuffer>());
- }));
- final buffer = (new Float32Array(3)).buffer;
- window.webkitPostMessage(buffer, '*', [buffer]);
- });
+ test('constructor', () {
+ var e = new ContentElement();
+ Expect.isTrue(e is ContentElement);
+ });
}
« no previous file with comments | « lib/html/scripts/systemhtml.py ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698