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

Unified Diff: tests/html/xmldocument_2_test.dart

Issue 11365203: Unmerging HTMLDocument from Document. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Try again? Created 8 years, 1 month 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 | « sdk/lib/html/templates/html/impl/impl_HtmlDocument.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+ });
+}
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_HtmlDocument.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698