| Index: pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
|
| index e65f60c1db03e35005e34a1dcf1167474b70ab5d..d84c165648d0609fbd1f43b61248b9ab5876dff1 100644
|
| --- a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
|
| +++ b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
|
| @@ -4,7 +4,9 @@
|
|
|
| /**
|
| * This test verifies that if reanalysis is performed while reanalysis is in
|
| - * progress, no problems occur. See dartbug.com/21448.
|
| + * progress, no problems occur.
|
| + *
|
| + * See dartbug.com/21448.
|
| */
|
| library test.integration.analysis.reanalyze_concurrent;
|
|
|
| @@ -16,6 +18,10 @@ import 'package:unittest/unittest.dart';
|
| import '../../reflective_tests.dart';
|
| import '../integration_tests.dart';
|
|
|
| +main() {
|
| + runReflectiveTests(Test);
|
| +}
|
| +
|
| @ReflectiveTestCase()
|
| class Test extends AbstractAnalysisServerIntegrationTest {
|
| test_reanalyze_concurrent() {
|
| @@ -41,11 +47,11 @@ main() {}''';
|
| if (data.analysis.isAnalyzing) {
|
| // Most likely what happened is that the first reanalyze
|
| // completed before the second reanalyze had a chance to start,
|
| - // and we are just now starting the second reanalyze. If this is
|
| - // the case, then the test isn't testing what it's meant to test
|
| - // (because we are trying to test what happens when one reanalyze
|
| - // starts while another is in progress). In which case we will
|
| - // need to give the analyzer more work to do.
|
| + // and we are just now starting the second reanalyze. If this
|
| + // is the case, then the test isn't testing what it's meant to
|
| + // test (because we are trying to test what happens when one
|
| + // reanalyze starts while another is in progress). In which
|
| + // case we will need to give the analyzer more work to do.
|
| fail('First reanalyze finished before second started.');
|
| }
|
| }
|
| @@ -58,7 +64,3 @@ main() {}''';
|
| });
|
| }
|
| }
|
| -
|
| -main() {
|
| - runReflectiveTests(Test);
|
| -}
|
|
|