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

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

Issue 27903006: Improves how to initialize polymer apps and fixes polymer build and linter to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/polyfill_injector_test.dart
diff --git a/pkg/polymer/test/build/polyfill_injector_test.dart b/pkg/polymer/test/build/polyfill_injector_test.dart
index 5f6b42e925698ed417bc0d820e6fc35fe2c7f959..f9c4dfb61607021c2389537aae8817e212c39767 100644
--- a/pkg/polymer/test/build/polyfill_injector_test.dart
+++ b/pkg/polymer/test/build/polyfill_injector_test.dart
@@ -36,26 +36,32 @@ void main() {
'<script type="application/dart" src="a.dart"></script>',
}, {
'a|web/test.html':
- '<!DOCTYPE html><html><head></head><body>'
+ '<!DOCTYPE html><html><head>'
'$SHADOW_DOM_TAG$CUSTOM_ELEMENT_TAG$INTEROP_TAG'
+ '</head><body>'
'<script type="application/dart" src="a.dart"></script>'
+ '$DART_JS_TAG'
'</body></html>',
});
testPhases('interop/shadow dom already present', phases, {
'a|web/test.html':
- '<!DOCTYPE html><html><head></head><body>'
- '<script type="application/dart" src="a.dart"></script>'
+ '<!DOCTYPE html><html><head>'
'$SHADOW_DOM_TAG'
'$CUSTOM_ELEMENT_TAG'
'$INTEROP_TAG'
+ '</head><body>'
+ '<script type="application/dart" src="a.dart"></script>'
+ '$DART_JS_TAG'
}, {
'a|web/test.html':
- '<!DOCTYPE html><html><head></head><body>'
- '<script type="application/dart" src="a.dart"></script>'
+ '<!DOCTYPE html><html><head>'
'$SHADOW_DOM_TAG'
'$CUSTOM_ELEMENT_TAG'
'$INTEROP_TAG'
+ '</head><body>'
+ '<script type="application/dart" src="a.dart"></script>'
+ '$DART_JS_TAG'
'</body></html>',
});
}

Powered by Google App Engine
This is Rietveld 408576698