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

Unified Diff: pkg/smoke/test/mirrors_test.dart

Issue 169913004: Adding package:smoke. This CL includes the intial APIs, a mirror-based (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « pkg/smoke/test/common.dart ('k') | pkg/smoke/test/mirrors_used_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/test/mirrors_test.dart
diff --git a/tests/language/regress_16640_test.dart b/pkg/smoke/test/mirrors_test.dart
similarity index 54%
copy from tests/language/regress_16640_test.dart
copy to pkg/smoke/test/mirrors_test.dart
index 64d8654282fa37f9f44f6312ac5ba452f07a18e0..cac643aab81c93a6e746f0e98bda711882f6c7f6 100644
--- a/tests/language/regress_16640_test.dart
+++ b/pkg/smoke/test/mirrors_test.dart
@@ -2,14 +2,13 @@
// 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.
-// Regression test for issue 16640.
+library smoke.test.mirrors_test;
-class Segment extends SegmentGen { }
-
-class SegmentGen extends ConceptEntity<Segment> { }
-
-class ConceptEntity<E> { }
+import 'package:smoke/mirrors.dart';
+import 'package:unittest/unittest.dart';
+import 'common.dart' as common show main;
main() {
- new ConceptEntity<Segment>();
+ setUp(useMirrors);
+ common.main();
}
« no previous file with comments | « pkg/smoke/test/common.dart ('k') | pkg/smoke/test/mirrors_used_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698