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

Unified Diff: pkg/polymer/test/transform/all_phases_test.dart

Issue 23445009: Prune the old deploy code. This CL does a few changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/transform/all_phases_test.dart
diff --git a/pkg/polymer/test/transform/all_phases_test.dart b/pkg/polymer/test/transform/all_phases_test.dart
index a644fe5e5f30b06c0b9cd5751ec6e260b117d151..cb58e2f193aca9d32e24e7bb3386de591fa38cb1 100644
--- a/pkg/polymer/test/transform/all_phases_test.dart
+++ b/pkg/polymer/test/transform/all_phases_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library polymer.test.transform.script_compactor_test;
+library polymer.test.transform.all_phases_test;
import 'package:polymer/src/transform.dart';
import 'package:unittest/compact_vm_config.dart';
@@ -34,6 +34,8 @@ void main() {
}, {
'a|web/test.html':
'<!DOCTYPE html><html><head></head><body>'
+ '$SHADOW_DOM_TAG'
+ '$INTEROP_TAG'
'<script type="application/dart" '
'src="test.html_bootstrap.dart"></script>'
'<script type="text/javascript" '
@@ -65,6 +67,8 @@ void main() {
}, {
'a|web/test.html':
'<!DOCTYPE html><html><head></head><body>'
+ '$SHADOW_DOM_TAG'
+ '$INTEROP_TAG'
'<script type="application/dart" '
'src="test.html_bootstrap.dart"></script>'
'<script type="text/javascript" '
@@ -102,7 +106,10 @@ void main() {
'a|web/a.dart': _sampleObservable('A', 'foo'),
}, {
'a|web/test.html':
- '<!DOCTYPE html><html><head></head><body><div></div>'
+ '<!DOCTYPE html><html><head></head><body>'
+ '$SHADOW_DOM_TAG'
+ '$INTEROP_TAG'
+ '<div></div>'
'<script type="application/dart" '
'src="test.html_bootstrap.dart"></script>'
'<script type="text/javascript" '
@@ -144,14 +151,16 @@ void main() {
'${_sampleObservable("C", "car")}</script>',
'a|web/b.dart': _sampleObservable('B', 'bar'),
'a|web/test2.html':
- '<!DOCTYPE html><html><head>'
- '</head><body><polymer-element>1'
+ '<!DOCTYPE html><html><head></head><body>'
+ '<polymer-element>1'
'<script type="application/dart">'
'${_sampleObservable("A", "foo")}</script>'
'</polymer-element></html>',
}, {
'a|web/index.html':
'<!DOCTYPE html><html><head></head><body>'
+ '$SHADOW_DOM_TAG'
+ '$INTEROP_TAG'
'<polymer-element>1</polymer-element>'
'<script type="application/dart" '
'src="index.html_bootstrap.dart"></script>'
@@ -183,6 +192,7 @@ void main() {
}
String _sampleObservable(String className, String fieldName) => '''
+library ${className}_$fieldName;
import 'package:observe/observe.dart';
class $className extends ObservableBase {
@@ -192,6 +202,7 @@ class $className extends ObservableBase {
''';
String _sampleObservableOutput(String className, String fieldName) => '''
+library ${className}_$fieldName;
import 'package:observe/observe.dart';
class $className extends ChangeNotifierBase {

Powered by Google App Engine
This is Rietveld 408576698