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

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

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
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.common; 5 library polymer.test.build.common;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:barback/barback.dart'; 9 import 'package:barback/barback.dart';
10 import 'package:stack_trace/stack_trace.dart'; 10 import 'package:stack_trace/stack_trace.dart';
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 testPhases(String testName, List<List<Transformer>> phases, 125 testPhases(String testName, List<List<Transformer>> phases,
126 Map<String, String> inputFiles, Map<String, String> expectedFiles, 126 Map<String, String> inputFiles, Map<String, String> expectedFiles,
127 [List<String> expectedMessages]) { 127 [List<String> expectedMessages]) {
128 test(testName, () { 128 test(testName, () {
129 var helper = new TestHelper(phases, inputFiles, expectedMessages)..run(); 129 var helper = new TestHelper(phases, inputFiles, expectedMessages)..run();
130 return helper.checkAll(expectedFiles).then((_) => helper.tearDown()); 130 return helper.checkAll(expectedFiles).then((_) => helper.tearDown());
131 }); 131 });
132 } 132 }
133 133
134 // TODO(jmesserly): this is .debug to workaround issue 14720. 134 const WEB_COMPONENTS_TAG =
135 const SHADOW_DOM_TAG = 135 '<script src="packages/web_components/platform.js"></script>\n'
136 '<script src="packages/shadow_dom/shadow_dom.debug.js"></script>\n'; 136 '<script src="packages/web_components/dart_support.js"></script>\n';
137 137
138 const INTEROP_TAG = '<script src="packages/browser/interop.js"></script>\n'; 138 const INTEROP_TAG = '<script src="packages/browser/interop.js"></script>\n';
139 const DART_JS_TAG = '<script src="packages/browser/dart.js"></script>'; 139 const DART_JS_TAG = '<script src="packages/browser/dart.js"></script>';
140 140
141 const CUSTOM_ELEMENT_TAG =
142 '<script src="packages/custom_element/custom-elements.debug.js">'
143 '</script>\n';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698