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

Side by Side Diff: dart/pkg/polymer/test/build/import_inliner_test.dart

Issue 336013003: Version 1.5.0-dev.4.14 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 | « dart/pkg/polymer/test/build/common.dart ('k') | dart/pkg/polymer/test/build/linter_test.dart » ('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.build.import_inliner_test; 5 library polymer.test.build.import_inliner_test;
6 6
7 import 'dart:convert' show JSON; 7 import 'dart:convert' show JSON;
8 import 'package:polymer/src/build/common.dart'; 8 import 'package:polymer/src/build/common.dart';
9 import 'package:polymer/src/build/import_inliner.dart'; 9 import 'package:polymer/src/build/import_inliner.dart';
10 import 'package:unittest/compact_vm_config.dart'; 10 import 'package:unittest/compact_vm_config.dart';
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 'a|web/test.html': 140 'a|web/test.html':
141 '<!DOCTYPE html><html><head>' 141 '<!DOCTYPE html><html><head>'
142 '</head><body>' 142 '</head><body>'
143 '<script type="text/javascript">/*first*/</script>' 143 '<script type="text/javascript">/*first*/</script>'
144 '<script src="second.js"></script>' 144 '<script src="second.js"></script>'
145 '<script>/*third*/</script>' 145 '<script>/*third*/</script>'
146 '<polymer-element>2</polymer-element>' 146 '<polymer-element>2</polymer-element>'
147 '</body></html>', 147 '</body></html>',
148 'a|web/test.html._data': expectedData([ 148 'a|web/test.html._data': expectedData([
149 'web/test.html.1.dart','web/test.html.0.dart']), 149 'web/test.html.1.dart','web/test.html.0.dart']),
150 'a|web/test.html.1.dart': 'library a.web.test2_html_1;\n/*forth*/', 150 'a|web/test.html.1.dart': 'library a.web.test2_html_0;\n/*forth*/',
151 'a|web/test.html.0.dart': 'library a.web.test_html_0;\n/*fifth*/', 151 'a|web/test.html.0.dart': 'library a.web.test_html_0;\n/*fifth*/',
152 'a|web/test2.html': 152 'a|web/test2.html':
153 '<!DOCTYPE html><html><head></head><body><script>/*third*/</script>' 153 '<!DOCTYPE html><html><head></head><body><script>/*third*/</script>'
154 '<polymer-element>2</polymer-element></body></html>', 154 '<polymer-element>2</polymer-element></body></html>',
155 'a|web/test2.html._data': expectedData(['web/test2.html.0.dart']), 155 'a|web/test2.html._data': expectedData(['web/test2.html.0.dart']),
156 'a|web/test2.html.0.dart': 'library a.web.test2_html_0;\n/*forth*/', 156 'a|web/test2.html.0.dart': 'library a.web.test2_html_0;\n/*forth*/',
157 'a|web/second.js': '/*second*/' 157 'a|web/second.js': '/*second*/'
158 }); 158 });
159 159
160 testPhases('no transformation outside web/', phases, 160 testPhases('no transformation outside web/', phases,
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 '<!DOCTYPE html><html><head></head><body>' 733 '<!DOCTYPE html><html><head></head><body>'
734 '<style>.first { color: black }</style>' 734 '<style>.first { color: black }</style>'
735 '<style>h1 { font-size: 70px; }</style>' 735 '<style>h1 { font-size: 70px; }</style>'
736 '<style>.second { color: black }</style>' 736 '<style>.second { color: black }</style>'
737 '</body></html>', 737 '</body></html>',
738 'a|web/test.html._data': EMPTY_DATA, 738 'a|web/test.html._data': EMPTY_DATA,
739 'a|web/test2.css': 739 'a|web/test2.css':
740 'h1 { font-size: 70px; }', 740 'h1 { font-size: 70px; }',
741 }); 741 });
742 } 742 }
OLDNEW
« no previous file with comments | « dart/pkg/polymer/test/build/common.dart ('k') | dart/pkg/polymer/test/build/linter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698