| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.integration.analysis.reanalyze; | 5 library test.integration.analysis.reanalyze; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/protocol.dart'; | 7 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
| 8 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 8 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
| 10 | 10 |
| 11 import '../../utils.dart'; | 11 import '../../utils.dart'; |
| 12 import '../integration_tests.dart'; | 12 import '../integration_tests.dart'; |
| 13 | 13 |
| 14 main() { | 14 main() { |
| 15 initializeTestEnvironment(); | 15 initializeTestEnvironment(); |
| 16 defineReflectiveTests(Test); | 16 defineReflectiveTests(Test); |
| 17 } | 17 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 }); | 35 }); |
| 36 sendAnalysisReanalyze(); | 36 sendAnalysisReanalyze(); |
| 37 return analysisFinished.then((_) { | 37 return analysisFinished.then((_) { |
| 38 expect(analysisRestarted, isTrue); | 38 expect(analysisRestarted, isTrue); |
| 39 }); | 39 }); |
| 40 }); | 40 }); |
| 41 } | 41 } |
| 42 } | 42 } |
| OLD | NEW |