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

Unified Diff: pkg/polymer/e2e_test/good_import/test/import_test.dart

Issue 293023008: Bring back initPolymer, allow boot.js only if using "polymer_experimental.html". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
Index: pkg/polymer/e2e_test/good_import/test/import_test.dart
diff --git a/samples/searchable_list/test/demo_app_test.dart b/pkg/polymer/e2e_test/good_import/test/import_test.dart
similarity index 51%
copy from samples/searchable_list/test/demo_app_test.dart
copy to pkg/polymer/e2e_test/good_import/test/import_test.dart
index 13973010e956b7e3425481d1a062ffb3a84bfd05..a9efbd3ce5f5572752f1524e10e079359da5e104 100644
--- a/samples/searchable_list/test/demo_app_test.dart
+++ b/pkg/polymer/e2e_test/good_import/test/import_test.dart
@@ -2,29 +2,21 @@
// 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.
-library todomvc.test.markdone_test;
+/// Tests how canonicalization works when using the deployed app.
+library canonicalization.bad_lib_import_negative;
-import 'dart:async';
-import 'dart:html';
-import 'package:polymer/polymer.dart';
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
-import '../web/elements/demo_app.dart';
+import 'package:polymer/polymer.dart';
-/**
- * A trivial test to get the analyzer plugged into this sample. See
- * searchable_list_test.dart.
- */
-@initMethod
+import 'package:good_import/a.dart';
main() {
+ initPolymer();
useHtmlConfiguration();
setUp(() => Polymer.onReady);
- test('loading the element', () {
- return new Future(() {
- var demoApp = querySelector('demo-app');
- expect(demoApp is DemoApp, isTrue);
- });
+ test('html import', () {
+ expect(a, 1, reason: 'html import is resolved correctly.');
});
}
« no previous file with comments | « pkg/polymer/e2e_test/good_import/pubspec.yaml ('k') | pkg/polymer/e2e_test/good_import/test/import_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698