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

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

Issue 882823003: Adds @HtmlImport with both dynamic and transformer based implementations. Still need an HtmlInliner… (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
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.
4 library web_components.test.build.common;
5
6 import 'package:barback/barback.dart';
7 import 'package:code_transformers/src/test_harness.dart';
Jennifer Messerly 2015/01/29 21:32:38 should code_transformers export this as a public l
jakemac 2015/02/02 20:55:57 Heh yes there is, I was copying the pattern from p
8 import 'package:unittest/unittest.dart';
9
10 testPhases(String testName, List<List<Transformer>> phases,
11 Map<String, String> inputFiles, Map<String, String> expectedFiles,
12 [List<String> expectedMessages]) {
13 test(testName, () {
14 var helper = new TestHelper(phases, inputFiles, expectedMessages)..run();
15 return helper.checkAll(expectedFiles).whenComplete(() => helper.tearDown());
Jennifer Messerly 2015/01/29 21:32:38 `() => helper.tearDown()` replace with `helper.tea
jakemac 2015/02/02 20:55:57 This is gone now
16 });
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698