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

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
« no previous file with comments | « pkg/polymer/test/run_all.dart ('k') | pkg/polymer/test/transform/code_extractor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a3826fad83f6bc58d71b26b3d71d1f46243ba3a3 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,10 +34,11 @@ 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" '
- 'src="packages/browser/dart.js"></script>'
+ '<script src="packages/browser/dart.js"></script>'
'</body></html>',
'a|web/test.html_bootstrap.dart':
@@ -65,10 +66,11 @@ 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" '
- 'src="packages/browser/dart.js"></script>'
+ '<script src="packages/browser/dart.js"></script>'
'</body></html>',
'a|web/test.html_bootstrap.dart':
@@ -102,11 +104,13 @@ 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" '
- 'src="packages/browser/dart.js"></script>'
+ '<script src="packages/browser/dart.js"></script>'
'</body></html>',
'a|web/test.html_bootstrap.dart':
@@ -144,19 +148,20 @@ 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>'
- '<script type="text/javascript" '
- 'src="packages/browser/dart.js"></script>'
+ '<script src="packages/browser/dart.js"></script>'
'</body></html>',
'a|web/index.html_bootstrap.dart':
'''library app_bootstrap;
@@ -183,6 +188,7 @@ void main() {
}
String _sampleObservable(String className, String fieldName) => '''
+library ${className}_$fieldName;
import 'package:observe/observe.dart';
class $className extends ObservableBase {
@@ -192,6 +198,7 @@ class $className extends ObservableBase {
''';
String _sampleObservableOutput(String className, String fieldName) => '''
+library ${className}_$fieldName;
import 'package:observe/observe.dart';
class $className extends ChangeNotifierBase {
« no previous file with comments | « pkg/polymer/test/run_all.dart ('k') | pkg/polymer/test/transform/code_extractor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698