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

Side by Side Diff: tests/html/xmldocument_2_test.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/html/websql_test.dart ('k') | tests/html/xsltprocessor_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library XmlDocument2Test; 1 library XmlDocument2Test;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import '../../pkg/unittest/lib/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart'; 3 import '../../pkg/unittest/lib/html_config.dart';
4 import 'dart:html'; 4 import 'dart:html';
5 5
6 main() { 6 main() {
7 useHtmlConfiguration(); 7 useHtmlConfiguration();
8 test('Document.query', () { 8 test('Document.query', () {
9 Document doc = new DOMParser().parseFromString( 9 Document doc = new DomParser().parseFromString(
10 '''<ResultSet> 10 '''<ResultSet>
11 <Row>A</Row> 11 <Row>A</Row>
12 <Row>B</Row> 12 <Row>B</Row>
13 <Row>C</Row> 13 <Row>C</Row>
14 </ResultSet>''','text/xml'); 14 </ResultSet>''','text/xml');
15 15
16 var rs = doc.query('ResultSet'); 16 var rs = doc.query('ResultSet');
17 expect(rs, isNotNull); 17 expect(rs, isNotNull);
18 }); 18 });
19 } 19 }
OLDNEW
« no previous file with comments | « tests/html/websql_test.dart ('k') | tests/html/xsltprocessor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698