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.'); |
}); |
} |