| 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 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1962 "B+on", | 1962 "B+on", |
| 1963 "C+catch", | 1963 "C+catch", |
| 1964 "D+var", | 1964 "D+var", |
| 1965 "E+void", | 1965 "E+void", |
| 1966 "F+assert", | 1966 "F+assert", |
| 1967 "G+continue", | 1967 "G+continue", |
| 1968 "H+break", | 1968 "H+break", |
| 1969 "J+if", | 1969 "J+if", |
| 1970 "K+else", | 1970 "K+else", |
| 1971 "L+return" | 1971 "L+return" |
| 1972 ], failingTests: '59BCDEHK'); | 1972 ], failingTests: '59BCHK'); |
| 1973 | 1973 |
| 1974 // operators in function | 1974 // operators in function |
| 1975 buildTests('test015', '''f(a,b,c) => a + b * c !1;''', <String>["1+=="], | 1975 buildTests('test015', '''f(a,b,c) => a + b * c !1;''', <String>["1+=="], |
| 1976 failingTests: '1'); | 1976 failingTests: '1'); |
| 1977 | 1977 |
| 1978 // operators in return | 1978 // operators in return |
| 1979 buildTests('test016', | 1979 buildTests('test016', |
| 1980 '''class X {dynamic f(a,b,c) {return a + b * c !1;}}''', <String>[ | 1980 '''class X {dynamic f(a,b,c) {return a + b * c !1;}}''', <String>[ |
| 1981 "1+==" | 1981 "1+==" |
| 1982 ], failingTests: '1'); | 1982 ], failingTests: '1'); |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2287 } else { | 2287 } else { |
| 2288 ++expectedPassCount; | 2288 ++expectedPassCount; |
| 2289 tester(testName, () { | 2289 tester(testName, () { |
| 2290 CompletionTestCase test = new CompletionTestCase(); | 2290 CompletionTestCase test = new CompletionTestCase(); |
| 2291 return test.runTest(spec, extraFiles); | 2291 return test.runTest(spec, extraFiles); |
| 2292 }); | 2292 }); |
| 2293 } | 2293 } |
| 2294 } | 2294 } |
| 2295 } | 2295 } |
| 2296 } | 2296 } |
| OLD | NEW |