| 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 engine.compile_time_error_code_test; | 5 library engine.compile_time_error_code_test; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/engine.dart'; | |
| 8 import 'package:analyzer/src/generated/error.dart'; | 7 import 'package:analyzer/src/generated/error.dart'; |
| 9 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 8 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
| 10 import 'package:analyzer/src/generated/source_io.dart'; | 9 import 'package:analyzer/src/generated/source_io.dart'; |
| 11 import 'package:unittest/unittest.dart' as _ut; | 10 import 'package:unittest/unittest.dart' as _ut; |
| 12 | 11 |
| 13 import '../reflective_tests.dart'; | 12 import '../reflective_tests.dart'; |
| 14 import 'resolver_test.dart'; | 13 import 'resolver_test.dart'; |
| 15 | 14 |
| 16 | 15 |
| 17 main() { | 16 main() { |
| (...skipping 5451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5469 [CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR]); | 5468 [CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR]); |
| 5470 verify([source]); | 5469 verify([source]); |
| 5471 reset(); | 5470 reset(); |
| 5472 } | 5471 } |
| 5473 | 5472 |
| 5474 void _check_wrongNumberOfParametersForOperator1(String name) { | 5473 void _check_wrongNumberOfParametersForOperator1(String name) { |
| 5475 _check_wrongNumberOfParametersForOperator(name, ""); | 5474 _check_wrongNumberOfParametersForOperator(name, ""); |
| 5476 _check_wrongNumberOfParametersForOperator(name, "a, b"); | 5475 _check_wrongNumberOfParametersForOperator(name, "a, b"); |
| 5477 } | 5476 } |
| 5478 } | 5477 } |
| OLD | NEW |