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

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

Issue 1026153002: add initWebComponents (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: code review updates Created 5 years, 9 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
« no previous file with comments | « pubspec.yaml ('k') | test/custom_element_proxy_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
(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.mirrors_remover_test;
5
6 import 'package:code_transformers/tests.dart';
7 import 'package:web_components/build/mirrors_remover.dart';
8 import 'package:unittest/compact_vm_config.dart';
9 import 'package:unittest/unittest.dart';
10
11 main() {
12 useCompactVMConfiguration();
13
14 var transformer = new MirrorsRemoverTransformer();
15 var phases = [[transformer]];
16
17 testPhases('basic', phases, {
18 'a|lib/src/init.dart': '''
19 libary web_components.init;
20
21 import 'src/mirror_initializer.dart';
22
23 foo() {}
24 ''',
25 }, {
26 'a|lib/src/init.dart': '''
27 libary web_components.init;
28
29 import 'src/static_initializer.dart';
30
31 foo() {}
32 ''',
33 }, []);
34 }
OLDNEW
« no previous file with comments | « pubspec.yaml ('k') | test/custom_element_proxy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698