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

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

Issue 162093002: fix imports link rel=stylesheet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
OLDNEW
(Empty)
1 library dom_compat_test;
2
3 import 'dart:io';
4 import 'package:unittest/unittest.dart';
5 import 'package:unittest/compact_vm_config.dart';
6 import 'package:html5lib/dom.dart';
7
8 part 'dom_compat_test_definitions.dart';
9
10 main() {
11 useCompactVMConfiguration();
12
13 registerDomCompatTests();
14
15 test('content_shell', () {
16 _runDrt('test/browser/browser_test.html');
17 });
18 }
19
20 void _runDrt(String htmlFile) {
21 final allPassedRegExp = new RegExp('All \\d+ tests passed');
22
23 final future = Process.run('content_shell', ['--dump-render-tree', htmlFile])
24 .then((ProcessResult pr) {
25 expect(pr.exitCode, 0);
26 expect(pr.stdout, matches(allPassedRegExp), reason: pr.stdout);
27 });
28
29 expect(future, completion(isNull));
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698