| 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 2619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2630 "C+catch", | 2630 "C+catch", |
| 2631 "D+var", | 2631 "D+var", |
| 2632 "E+void", | 2632 "E+void", |
| 2633 "F+assert", | 2633 "F+assert", |
| 2634 "G+continue", | 2634 "G+continue", |
| 2635 "H+break", | 2635 "H+break", |
| 2636 "J+if", | 2636 "J+if", |
| 2637 "K+else", | 2637 "K+else", |
| 2638 "L+return" | 2638 "L+return" |
| 2639 ], | 2639 ], |
| 2640 failingTests: '35BCHK'); | 2640 failingTests: '3BCHK'); |
| 2641 | 2641 |
| 2642 // operators in function | 2642 // operators in function |
| 2643 buildTests('test015', '''f(a,b,c) => a + b * c !1;''', <String>["1+=="], | 2643 buildTests('test015', '''f(a,b,c) => a + b * c !1;''', <String>["1+=="], |
| 2644 failingTests: '1'); | 2644 failingTests: '1'); |
| 2645 | 2645 |
| 2646 // operators in return | 2646 // operators in return |
| 2647 buildTests( | 2647 buildTests( |
| 2648 'test016', | 2648 'test016', |
| 2649 '''class X {dynamic f(a,b,c) {return a + b * c !1;}}''', | 2649 '''class X {dynamic f(a,b,c) {return a + b * c !1;}}''', |
| 2650 <String>["1+=="], | 2650 <String>["1+=="], |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2994 } else { | 2994 } else { |
| 2995 ++expectedPassCount; | 2995 ++expectedPassCount; |
| 2996 tester(testName, () { | 2996 tester(testName, () { |
| 2997 CompletionTestCase test = new CompletionTestCase(); | 2997 CompletionTestCase test = new CompletionTestCase(); |
| 2998 return test.runTest(spec, extraFiles); | 2998 return test.runTest(spec, extraFiles); |
| 2999 }); | 2999 }); |
| 3000 } | 3000 } |
| 3001 } | 3001 } |
| 3002 } | 3002 } |
| 3003 } | 3003 } |
| OLD | NEW |