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

Side by Side Diff: pkg/third_party/html5lib/test/tokenizer_test.dart

Issue 23493006: Remove dart:utf in third_party. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot to update pubspec. Created 7 years, 3 months 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 | « pkg/third_party/html5lib/pubspec.yaml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library tokenizer_test; 1 library tokenizer_test;
2 2
3 // Note: mirrors used to match the getattr usage in the original test 3 // Note: mirrors used to match the getattr usage in the original test
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:json' as json; 6 import 'dart:json' as json;
7 import 'dart:mirrors'; 7 import 'dart:mirrors';
8 import 'dart:utf';
9 import 'package:path/path.dart' as pathos; 8 import 'package:path/path.dart' as pathos;
10 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
11 import 'package:html5lib/src/char_encodings.dart'; 10 import 'package:html5lib/src/char_encodings.dart';
12 import 'package:html5lib/src/constants.dart' as constants; 11 import 'package:html5lib/src/constants.dart' as constants;
13 import 'package:html5lib/src/token.dart'; 12 import 'package:html5lib/src/token.dart';
14 import 'package:html5lib/src/tokenizer.dart'; 13 import 'package:html5lib/src/tokenizer.dart';
15 import 'package:html5lib/src/utils.dart'; 14 import 'package:html5lib/src/utils.dart';
15 import 'package:utf/utf.dart';
16 import 'support.dart'; 16 import 'support.dart';
17 17
18 class TokenizerTestParser { 18 class TokenizerTestParser {
19 String _state; 19 String _state;
20 var _lastStartTag; 20 var _lastStartTag;
21 List outputTokens; 21 List outputTokens;
22 22
23 TokenizerTestParser(String initialState, [lastStartTag]) 23 TokenizerTestParser(String initialState, [lastStartTag])
24 : _state = initialState, 24 : _state = initialState,
25 _lastStartTag = lastStartTag; 25 _lastStartTag = lastStartTag;
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 for (var initialState in testInfo["initialStates"]) { 261 for (var initialState in testInfo["initialStates"]) {
262 test(testInfo["description"], () { 262 test(testInfo["description"], () {
263 testInfo["initialState"] = camelCase(initialState); 263 testInfo["initialState"] = camelCase(initialState);
264 runTokenizerTest(testInfo); 264 runTokenizerTest(testInfo);
265 }); 265 });
266 } 266 }
267 } 267 }
268 }); 268 });
269 } 269 }
270 } 270 }
OLDNEW
« no previous file with comments | « pkg/third_party/html5lib/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698