| Index: pkg/analysis_server/test/declarative_tests.dart
|
| diff --git a/pkg/analysis_server/test/declarative_tests.dart b/pkg/analysis_server/test/declarative_tests.dart
|
| index f6a6e68dc879246db28bc49db53a2013bbb8e466..dadc6803ff14e633f23cc9e5beed68c669af9dd5 100644
|
| --- a/pkg/analysis_server/test/declarative_tests.dart
|
| +++ b/pkg/analysis_server/test/declarative_tests.dart
|
| @@ -4,24 +4,30 @@ import 'dart:mirrors';
|
|
|
| import 'package:unittest/unittest.dart' show group, test;
|
|
|
| -/// Use [runTest] annotation to indicate that method is a test method.
|
| -/// Alternatively method name can have the `test` prefix.
|
| +/**
|
| + * Use [runTest] annotation to indicate that method is a test method.
|
| + * Alternatively method name can have the `test` prefix.
|
| + */
|
| const runTest = const _RunTest();
|
|
|
| class _RunTest {
|
| const _RunTest();
|
| }
|
|
|
| -/// Creates a new named group of tests with the name of the given [Type], then
|
| -/// adds new tests using [addTestMethods].
|
| +/**
|
| + * Creates a new named group of tests with the name of the given [Type], then
|
| + * adds new tests using [addTestMethods].
|
| + */
|
| addTestSuite(Type type) {
|
| group(type.toString(), () {
|
| addTestMethods(type);
|
| });
|
| }
|
|
|
| -/// Creates a new test case for the each static method with the name starting
|
| -/// with `test` or having the [runTest] annotation.
|
| +/**
|
| + * Creates a new test case for the each static method with the name starting
|
| + * with `test` or having the [runTest] annotation.
|
| + */
|
| addTestMethods(Type type) {
|
| var typeMirror = reflectClass(type);
|
| typeMirror.staticMembers.forEach((methodSymbol, method) {
|
|
|