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.completion.domain; | 5 library test.integration.completion.get.suggestions; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_testing/reflective_tests.dart'; | 9 import 'package:analysis_testing/reflective_tests.dart'; |
10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
11 | 11 |
12 import 'integration_tests.dart'; | 12 import '../integration_tests.dart'; |
13 | 13 |
14 @ReflectiveTestCase() | 14 @ReflectiveTestCase() |
15 class CompletionDomainIntegrationTest extends | 15 class Test extends AbstractAnalysisServerIntegrationTest { |
16 AbstractAnalysisServerIntegrationTest { | |
17 fail_test_getSuggestions_string_var() { | 16 fail_test_getSuggestions_string_var() { |
18 // See dartbug.com/20188 | 17 // See dartbug.com/20188 |
19 String pathname = sourcePath('test.dart'); | 18 String pathname = sourcePath('test.dart'); |
20 String text = r''' | 19 String text = r''' |
21 var test = ''; | 20 var test = ''; |
22 main() { | 21 main() { |
23 test. | 22 test. |
24 } | 23 } |
25 '''; | 24 '''; |
26 writeFile(pathname, text); | 25 writeFile(pathname, text); |
(...skipping 14 matching lines...) Expand all Loading... |
41 } | 40 } |
42 | 41 |
43 test_placeholder() { | 42 test_placeholder() { |
44 // The unit test framework freaks out if there are no tests, so this is a | 43 // The unit test framework freaks out if there are no tests, so this is a |
45 // placeholder until we have a passing test. | 44 // placeholder until we have a passing test. |
46 // TODO(paulberry): remove this. | 45 // TODO(paulberry): remove this. |
47 } | 46 } |
48 } | 47 } |
49 | 48 |
50 main() { | 49 main() { |
51 runReflectiveTests(CompletionDomainIntegrationTest); | 50 runReflectiveTests(Test); |
52 } | 51 } |
OLD | NEW |