| 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);
|
| + });
|
| }
|
|
|