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