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

Unified Diff: pkg/web_components/test/interop2_test.dart

Issue 325893003: Fix, take 3 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « no previous file | pkg/web_components/test/interop_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/web_components/test/interop2_test.dart
diff --git a/pkg/web_components/test/interop2_test.dart b/pkg/web_components/test/interop2_test.dart
index 88cc25cd6473f430cb08bd91096ad5d3422475e9..90f9163ac4ebc30bfa5c2fa17bce6e7c30a281ad 100644
--- a/pkg/web_components/test/interop2_test.dart
+++ b/pkg/web_components/test/interop2_test.dart
@@ -16,13 +16,15 @@ import 'package:unittest/unittest.dart';
import 'package:web_components/interop.dart';
import 'package:web_components/polyfill.dart';
-main() {
- useHtmlConfiguration();
- setUp(() => customElementsReady.then((_) {
+final globalSetup = customElementsReady.then((_) {
registerDartType('x-a', XAWrapper);
registerDartType('x-b', XBWrapper, extendsTag: 'div');
registerDartType('x-c', XCWrapper);
- }));
+ });
+
+main() {
+ useHtmlConfiguration();
+ setUp(() => globalSetup);
test('interop is supported', () {
expect(isSupported, isTrue);
« no previous file with comments | « no previous file | pkg/web_components/test/interop_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698