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

Unified Diff: pkg/polymer/test/build/import_inliner_test.dart

Issue 239433012: Detect and warn about missing scripts (rather than fail during the build) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: pkg/polymer/test/build/import_inliner_test.dart
diff --git a/pkg/polymer/test/build/import_inliner_test.dart b/pkg/polymer/test/build/import_inliner_test.dart
index 8741ac11546ea38a8355487ff10c90ed0b1145a2..6684c5b1ef39994f88a7391fd4aad8cf0023775a 100644
--- a/pkg/polymer/test/build/import_inliner_test.dart
+++ b/pkg/polymer/test/build/import_inliner_test.dart
@@ -436,6 +436,8 @@ void importTests() {
'<link rel="import" href="test_1.html">'
'</head><body><polymer-element>2</polymer-element>'
'<script type="application/dart" src="s2.dart"></script></html>',
+ 'a|web/s1.dart': '',
+ 'a|web/s2.dart': '',
}, {
'a|web/test.html':
'<!DOCTYPE html><html><head>'
@@ -484,6 +486,8 @@ void importTests() {
'<script type="application/dart;component=1" src="s2.dart"></script>'
'</polymer-element>'
'</html>',
+ 'a|web/s1.dart': '',
+ 'a|web/s2.dart': '',
}, {
'a|web/test.html':
'<!DOCTYPE html><html><head>'
@@ -525,6 +529,7 @@ void importTests() {
'<script type="application/dart;component=1" src="s1.dart"></script>'
'</polymer-element>'
'FOO</body></html>',
+ 'a|web/s1.dart': '',
}, {
'a|web/test.html':
'<!DOCTYPE html><html><head>'
@@ -813,6 +818,4 @@ void stylesheetTests() {
'a|web/test2.css':
'h1 { font-size: 70px; }',
});
-
}
-

Powered by Google App Engine
This is Rietveld 408576698