| <html> | |
| <script> | |
| import "../resources/third_party/unittest/unittest.dart"; | |
| import "../resources/unit.dart"; | |
| import "dart:sky"; | |
| main() { | |
| initUnit(); | |
| test('should have a constructor', () { | |
| var doc = new Document(); | |
| expect(doc, isNotNull); | |
| // assert.doesNotThrow(function() { | |
| // doc.registerElement('x-foo'); | |
| // }, 'new document should have a registration context'); | |
| }); | |
| } | |
| </script> | |
| </html> |