Index: tests/html/xmldocument_2_test.dart |
diff --git a/tests/html/xmldocument_2_test.dart b/tests/html/xmldocument_2_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..724da889440d4d700b98d1e38f31dfec4f37a3b6 |
--- /dev/null |
+++ b/tests/html/xmldocument_2_test.dart |
@@ -0,0 +1,19 @@ |
+library XmlDocument2Test; |
+import '../../pkg/unittest/lib/unittest.dart'; |
+import '../../pkg/unittest/lib/html_config.dart'; |
+import 'dart:html'; |
+ |
+main() { |
+ useHtmlConfiguration(); |
+ test('Document.query', () { |
+ Document doc = new DOMParser().parseFromString( |
+ '''<ResultSet> |
+ <Row>A</Row> |
+ <Row>B</Row> |
+ <Row>C</Row> |
+ </ResultSet>''','text/xml'); |
+ |
+ var rs = doc.query('ResultSet'); |
+ expect(rs, isNotNull); |
+ }); |
+} |