| 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.completion.support; | 5 library test.completion.support; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| (...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1414 class A { | 1414 class A { |
| 1415 var fa; | 1415 var fa; |
| 1416 ma() {} | 1416 ma() {} |
| 1417 } | 1417 } |
| 1418 class B extends A { | 1418 class B extends A { |
| 1419 var fb; | 1419 var fb; |
| 1420 mb() {} | 1420 mb() {} |
| 1421 main() { | 1421 main() { |
| 1422 super.!1 | 1422 super.!1 |
| 1423 } | 1423 } |
| 1424 }''', <String>["1+fa", "1-fb", "1+ma", "1-mb"], failingTests: '1'); | 1424 }''', <String>["1+fa", "1-fb", "1+ma", "1-mb"]); |
| 1425 | 1425 |
| 1426 buildTests('testCompletion_superConstructorInvocation_noNamePrefix', ''' | 1426 buildTests('testCompletion_superConstructorInvocation_noNamePrefix', ''' |
| 1427 class A { | 1427 class A { |
| 1428 A.fooA(); | 1428 A.fooA(); |
| 1429 A.fooB(); | 1429 A.fooB(); |
| 1430 A.bar(); | 1430 A.bar(); |
| 1431 } | 1431 } |
| 1432 class B extends A { | 1432 class B extends A { |
| 1433 B() : super.!1 | 1433 B() : super.!1 |
| 1434 }''', <String>["1+fooA", "1+fooB", "1+bar"], failingTests: '1'); | 1434 }''', <String>["1+fooA", "1+fooB", "1+bar"], failingTests: '1'); |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2285 } else { | 2285 } else { |
| 2286 ++expectedPassCount; | 2286 ++expectedPassCount; |
| 2287 tester(testName, () { | 2287 tester(testName, () { |
| 2288 CompletionTestCase test = new CompletionTestCase(); | 2288 CompletionTestCase test = new CompletionTestCase(); |
| 2289 return test.runTest(spec, extraFiles); | 2289 return test.runTest(spec, extraFiles); |
| 2290 }); | 2290 }); |
| 2291 } | 2291 } |
| 2292 } | 2292 } |
| 2293 } | 2293 } |
| 2294 } | 2294 } |
| OLD | NEW |