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

Unified Diff: test/emitter_test.dart

Issue 12474002: Support for parsing all CSS and producing one CSS file (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: bumped version Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« pubspec.yaml ('K') | « test/data/input/root.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/emitter_test.dart
diff --git a/test/emitter_test.dart b/test/emitter_test.dart
index 905b051eef70071ae36ca64977092dcf9bf40963..8d15066b01154ff2725982822dcce37616a77eaa 100644
--- a/test/emitter_test.dart
+++ b/test/emitter_test.dart
@@ -332,7 +332,7 @@ main() {
fileInfo.inlinedCode = new DartCodeInfo('main', null, [], '', null);
var pathInfo = _newPathInfo('a', 'b', true);
- var emitter = new MainPageEmitter(fileInfo);
+ var emitter = new MainPageEmitter(fileInfo, false);
emitter.run(doc, pathInfo, null, true);
expect(doc.outerHtml, equals(html));
});
@@ -352,7 +352,7 @@ main() {
// the external file when transforming the urls in the html file.
fileInfo.externalFile = new Path('dir/a.dart');
var pathInfo = _newPathInfo('', 'out', true);
- var emitter = new MainPageEmitter(fileInfo);
+ var emitter = new MainPageEmitter(fileInfo, false);
emitter.run(doc, pathInfo, null, true);
expect(doc.outerHtml, html.replaceAll('a.css', '../a.css'));
});
@@ -366,7 +366,7 @@ main() {
// the external file when transforming the urls in the html file.
fileInfo.externalFile = new Path('dir/a.dart');
var pathInfo = _newPathInfo('dir/', 'out', true);
- var emitter = new MainPageEmitter(fileInfo);
+ var emitter = new MainPageEmitter(fileInfo, false);
emitter.run(doc, pathInfo, null, true);
expect(doc.outerHtml, html.replaceAll('a.css', '../dir/a.css'));
});
@@ -380,7 +380,7 @@ main() {
// the external file when transforming the urls in the html file.
fileInfo.externalFile = new Path('dir/a.dart');
var pathInfo = _newPathInfo('', 'out', true);
- var emitter = new MainPageEmitter(fileInfo);
+ var emitter = new MainPageEmitter(fileInfo, false);
emitter.run(doc, pathInfo, null, true);
expect(doc.outerHtml, html.replaceAll('a.css', '../../dir/a.css'));
});
@@ -392,7 +392,7 @@ main() {
fileInfo.inlinedCode = new DartCodeInfo('main', null, [], '', null);
fileInfo.externalFile = new Path('dir/a.dart');
var pathInfo = _newPathInfo('', 'out', true);
- var emitter = new MainPageEmitter(fileInfo);
+ var emitter = new MainPageEmitter(fileInfo, false);
emitter.run(doc, pathInfo, null, false);
expect(doc.outerHtml, html);
});
« pubspec.yaml ('K') | « test/data/input/root.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698