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

Unified Diff: packages/web_components/test/build/html_import_annotation_recorder_test.dart

Issue 2312183003: Removed Polymer from Observatory deps (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/web_components/pubspec.yaml ('k') | packages/web_components/test/build/import_crawler_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/web_components/test/build/html_import_annotation_recorder_test.dart
diff --git a/packages/web_components/test/build/html_import_annotation_recorder_test.dart b/packages/web_components/test/build/html_import_annotation_recorder_test.dart
index a6e832c9d2473169cda98dddce9cb728c0fc9e80..341f3a1bc9a97880f6e80a7582d76910a9f757de 100644
--- a/packages/web_components/test/build/html_import_annotation_recorder_test.dart
+++ b/packages/web_components/test/build/html_import_annotation_recorder_test.dart
@@ -1,13 +1,13 @@
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@TestOn('vm')
library web_components.test.build.html_import_annotation_recorder_test;
-import 'package:code_transformers/tests.dart' hide testPhases;
+import 'package:transformer_test/utils.dart' hide testPhases;
import 'package:web_components/build/html_import_annotation_recorder.dart';
import 'package:initialize/transformer.dart';
-import 'package:unittest/compact_vm_config.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'common.dart';
testPhases(String name, Map<String, String> inputs,
@@ -18,7 +18,9 @@ testPhases(String name, Map<String, String> inputs,
test(name, () {
// Run the transformer and test the output.
- return applyTransformers([[transformer]],
+ return applyTransformers([
+ [transformer]
+ ],
inputs: inputs,
results: expected,
formatter: StringFormatter.noNewlinesOrSurroundingWhitespace).then((_) {
@@ -29,8 +31,6 @@ testPhases(String name, Map<String, String> inputs,
}
main() {
- useCompactVMConfiguration();
-
testPhases('basic', {
'a|web/index.dart': '''
@HtmlImport('index.html')
« no previous file with comments | « packages/web_components/pubspec.yaml ('k') | packages/web_components/test/build/import_crawler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698