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 1933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1944 !Atry { | 1944 !Atry { |
1945 } !Bon Object !Ccatch(a){} | 1945 } !Bon Object !Ccatch(a){} |
1946 !Fassert true; | 1946 !Fassert true; |
1947 !Jif (x) {} !Kelse {}; | 1947 !Jif (x) {} !Kelse {}; |
1948 !Lreturn; | 1948 !Lreturn; |
1949 } | 1949 } |
1950 }''', <String>[ | 1950 }''', <String>[ |
1951 "1+while", | 1951 "1+while", |
1952 "2+do", | 1952 "2+do", |
1953 "3+while", | 1953 "3+while", |
1954 "4+for", | 1954 "4+for (!)", |
1955 "5+in", | 1955 "5+in", |
1956 "6+for", | 1956 "6+for (!)", |
1957 "7+switch", | 1957 "7+switch", |
1958 "8+case", | 1958 "8+case", |
1959 "9+default", | 1959 "9+default", |
1960 "A+try", | 1960 "A+try", |
1961 "B+on", | 1961 "B+on", |
1962 "C+catch", | 1962 "C+catch", |
1963 "D+var", | 1963 "D+var", |
1964 "E+void", | 1964 "E+void", |
1965 "F+assert", | 1965 "F+assert", |
1966 "G+continue", | 1966 "G+continue", |
(...skipping 318 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 |