| 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.domain; | 5 library test.integration.analysis.domain; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_server/src/constants.dart'; | 9 import 'package:analysis_server/src/constants.dart'; |
| 10 import 'package:analysis_testing/reflective_tests.dart'; | 10 import 'package:analysis_testing/reflective_tests.dart'; |
| 11 import 'package:path/path.dart'; | 11 import 'package:path/path.dart'; |
| 12 import 'package:unittest/unittest.dart'; | 12 import 'package:unittest/unittest.dart'; |
| 13 | 13 |
| 14 import 'integration_tests.dart'; | 14 import 'integration_tests.dart'; |
| 15 import 'protocol_matchers.dart'; |
| 15 | 16 |
| 16 @ReflectiveTestCase() | 17 @ReflectiveTestCase() |
| 17 class AnalysisDomainIntegrationTest extends | 18 class AnalysisDomainIntegrationTest extends |
| 18 AbstractAnalysisServerIntegrationTest { | 19 AbstractAnalysisServerIntegrationTest { |
| 19 test_getHover() { | 20 test_getHover() { |
| 20 String filename = 'test.dart'; | 21 String filename = 'test.dart'; |
| 21 String pathname = normalizePath(filename); | 22 String pathname = normalizePath(filename); |
| 22 String text = | 23 String text = |
| 23 r''' | 24 r''' |
| 24 library lib.test; | 25 library lib.test; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 // Now there should be errors again, because the contents on disk are no | 249 // Now there should be errors again, because the contents on disk are no |
| 249 // longer overridden. | 250 // longer overridden. |
| 250 expect(currentAnalysisErrors[pathname], isNot(isEmpty)); | 251 expect(currentAnalysisErrors[pathname], isNot(isEmpty)); |
| 251 }); | 252 }); |
| 252 } | 253 } |
| 253 } | 254 } |
| 254 | 255 |
| 255 main() { | 256 main() { |
| 256 runReflectiveTests(AnalysisDomainIntegrationTest); | 257 runReflectiveTests(AnalysisDomainIntegrationTest); |
| 257 } | 258 } |
| OLD | NEW |