Index: test/codegen/lib/html/domparser_test.dart |
diff --git a/test/codegen/lib/html/domparser_test.dart b/test/codegen/lib/html/domparser_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61ecf86d7de7078324fc2a0da20af2fb8ac72b96 |
--- /dev/null |
+++ b/test/codegen/lib/html/domparser_test.dart |
@@ -0,0 +1,17 @@ |
+library DOMParserTest; |
+import 'package:unittest/unittest.dart'; |
+import 'package:unittest/html_config.dart'; |
+import 'dart:html'; |
+ |
+main() { |
+ |
+ useHtmlConfiguration(); |
+ |
+ var isDomParser = predicate((x) => x is DomParser, 'is a DomParser'); |
+ |
+ test('constructorTest', () { |
+ var ctx = new DomParser(); |
+ expect(ctx, isNotNull); |
+ expect(ctx, isDomParser); |
+ }); |
+} |