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

Side by Side Diff: pkg/polymer/test/transform/polyfill_injector_test.dart

Issue 23678009: fixed TodoMVC tests to include deploying to JS (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/test/transform/common.dart ('k') | samples/samples.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library polymer.test.transform.polyfill_injector_test; 5 library polymer.test.transform.polyfill_injector_test;
6 6
7 import 'package:polymer/src/transform.dart'; 7 import 'package:polymer/src/transform.dart';
8 import 'package:unittest/compact_vm_config.dart'; 8 import 'package:unittest/compact_vm_config.dart';
9 9
10 import 'common.dart'; 10 import 'common.dart';
(...skipping 17 matching lines...) Expand all
28 '<script type="application/dart" src="a.dart"></script>', 28 '<script type="application/dart" src="a.dart"></script>',
29 }); 29 });
30 30
31 testPhases('with some script', [[new PolyfillInjector()]], { 31 testPhases('with some script', [[new PolyfillInjector()]], {
32 'a|web/test.html': 32 'a|web/test.html':
33 '<!DOCTYPE html><html><head></head><body>' 33 '<!DOCTYPE html><html><head></head><body>'
34 '<script type="application/dart" src="a.dart"></script>', 34 '<script type="application/dart" src="a.dart"></script>',
35 }, { 35 }, {
36 'a|web/test.html': 36 'a|web/test.html':
37 '<!DOCTYPE html><html><head></head><body>' 37 '<!DOCTYPE html><html><head></head><body>'
38 '$SHADOW_DOM_TAG$INTEROP_TAG' 38 '$SHADOW_DOM_TAG$INTEROP_TAG$PKG_JS_INTEROP_TAG'
39 '<script type="application/dart" src="a.dart"></script>' 39 '<script type="application/dart" src="a.dart"></script>'
40 '</body></html>', 40 '</body></html>',
41 }); 41 });
42 42
43 testPhases('interop/shadow dom already present', [[new PolyfillInjector()]], { 43 testPhases('interop/shadow dom already present', [[new PolyfillInjector()]], {
44 'a|web/test.html': 44 'a|web/test.html':
45 '<!DOCTYPE html><html><head></head><body>' 45 '<!DOCTYPE html><html><head></head><body>'
46 '<script type="application/dart" src="a.dart"></script>' 46 '<script type="application/dart" src="a.dart"></script>'
47 '$SHADOW_DOM_TAG' 47 '$SHADOW_DOM_TAG'
48 '$INTEROP_TAG', 48 '$INTEROP_TAG'
49 '$PKG_JS_INTEROP_TAG',
49 }, { 50 }, {
50 'a|web/test.html': 51 'a|web/test.html':
51 '<!DOCTYPE html><html><head></head><body>' 52 '<!DOCTYPE html><html><head></head><body>'
52 '<script type="application/dart" src="a.dart"></script>' 53 '<script type="application/dart" src="a.dart"></script>'
53 '$SHADOW_DOM_TAG' 54 '$SHADOW_DOM_TAG'
54 '$INTEROP_TAG</body></html>', 55 '$INTEROP_TAG'
56 '$PKG_JS_INTEROP_TAG'
57 '</body></html>',
55 }); 58 });
56 } 59 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/transform/common.dart ('k') | samples/samples.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698