| Index: dart/tests/lib/mirrors/abstract_test.dart
|
| diff --git a/dart/samples/tests/samples/browser/spirodraw_test.dart b/dart/tests/lib/mirrors/abstract_test.dart
|
| similarity index 50%
|
| copy from dart/samples/tests/samples/browser/spirodraw_test.dart
|
| copy to dart/tests/lib/mirrors/abstract_test.dart
|
| index 2e6e5586cea32655f696a34410febbc6c139b9f9..39923639e08b8a559e2de07d8e825a78c6a994eb 100644
|
| --- a/dart/samples/tests/samples/browser/spirodraw_test.dart
|
| +++ b/dart/tests/lib/mirrors/abstract_test.dart
|
| @@ -2,16 +2,18 @@
|
| // 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 spirodraw_test;
|
| +// Test abstract classes are retained.
|
|
|
| -import '../../../spirodraw/web/spirodraw.dart' as spirodraw;
|
| +library test.abstract_test;
|
|
|
| -// @static-clean
|
| +import 'dart:mirrors';
|
|
|
| -/**
|
| - * This test exists to ensure that the spirodraw sample compiles without errors.
|
| - */
|
| -void main() {
|
| -
|
| +import 'stringify.dart';
|
| +
|
| +abstract class Foo {
|
| }
|
|
|
| +void main() {
|
| + expect('Class(s(Foo) in s(test.abstract_test), top-level)',
|
| + reflectClass(Foo));
|
| +}
|
|
|