| Index: pkg/analysis_server/test/reflective_tests.dart
|
| diff --git a/pkg/analysis_server/test/reflective_tests.dart b/pkg/analysis_server/test/reflective_tests.dart
|
| index 9be27ed1104e46f3c731e7b15d3336eb0857802c..622ab5fe6e58a81493065ee309897935ede5ee06 100644
|
| --- a/pkg/analysis_server/test/reflective_tests.dart
|
| +++ b/pkg/analysis_server/test/reflective_tests.dart
|
| @@ -49,7 +49,7 @@ void runReflectiveTests(Type type) {
|
| if (memberName.startsWith('test_')) {
|
| String testName = memberName.substring('test_'.length);
|
| test(testName, () {
|
| - _runTest(classMirror, symbol);
|
| + return _runTest(classMirror, symbol);
|
| });
|
| return;
|
| }
|
| @@ -57,13 +57,13 @@ void runReflectiveTests(Type type) {
|
| if (memberName.startsWith('solo_test_')) {
|
| String testName = memberName.substring('solo_test_'.length);
|
| solo_test(testName, () {
|
| - _runTest(classMirror, symbol);
|
| + return _runTest(classMirror, symbol);
|
| });
|
| }
|
| });
|
| }
|
|
|
| -void _runTest(ClassMirror classMirror, Symbol symbol) {
|
| +_runTest(ClassMirror classMirror, Symbol symbol) {
|
| InstanceMirror instanceMirror = classMirror.newInstance(new Symbol(''), []);
|
| _invokeSymbolIfExists(instanceMirror, #setUp);
|
| var testReturn = instanceMirror.invoke(symbol, []).reflectee;
|
|
|