| 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 2601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2612 } !Bon Object !Ccatch(a){} | 2612 } !Bon Object !Ccatch(a){} |
| 2613 !Fassert true; | 2613 !Fassert true; |
| 2614 !Jif (x) {} !Kelse {}; | 2614 !Jif (x) {} !Kelse {}; |
| 2615 !Lreturn; | 2615 !Lreturn; |
| 2616 } | 2616 } |
| 2617 }''', | 2617 }''', |
| 2618 <String>[ | 2618 <String>[ |
| 2619 "1+while", | 2619 "1+while", |
| 2620 "2+do", | 2620 "2+do", |
| 2621 "3+while", | 2621 "3+while", |
| 2622 "4+for (!)", | 2622 "4+for", |
| 2623 "5+in", | 2623 "5+in", |
| 2624 "6+for (!)", | 2624 "6+for", |
| 2625 "7+switch", | 2625 "7+switch", |
| 2626 "8+case", | 2626 "8+case", |
| 2627 "9+default", | 2627 "9+default", |
| 2628 "A+try", | 2628 "A+try", |
| 2629 "B+on", | 2629 "B+on", |
| 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", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2652 | 2652 |
| 2653 // keywords | 2653 // keywords |
| 2654 buildTests( | 2654 buildTests( |
| 2655 'test017', | 2655 'test017', |
| 2656 ''' | 2656 ''' |
| 2657 !1!2import 'x' !5as r; | 2657 !1!2import 'x' !5as r; |
| 2658 !3export '!8uri' !6hide Q !7show X; | 2658 !3export '!8uri' !6hide Q !7show X; |
| 2659 !4part 'x';''', | 2659 !4part 'x';''', |
| 2660 <String>[ | 2660 <String>[ |
| 2661 "1+library", | 2661 "1+library", |
| 2662 "2+import '!';", | 2662 "2+import", |
| 2663 "3+export", | 2663 "3+export", |
| 2664 "4+part", | 2664 "4+part", |
| 2665 "5+as", | 2665 "5+as", |
| 2666 "6+hide", | 2666 "6+hide", |
| 2667 "7+show", | 2667 "7+show", |
| 2668 "8-null" | 2668 "8-null" |
| 2669 ], | 2669 ], |
| 2670 failingTests: '567'); | 2670 failingTests: '567'); |
| 2671 | 2671 |
| 2672 // keywords | 2672 // keywords |
| (...skipping 321 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 |