| 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 analyzer.test.generated.non_error_resolver_test; | 5 library analyzer.test.generated.non_error_resolver_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 10 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
| (...skipping 6246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6257 }"""); | 6257 }"""); |
| 6258 await computeAnalysisResult(source); | 6258 await computeAnalysisResult(source); |
| 6259 assertNoErrors(source); | 6259 assertNoErrors(source); |
| 6260 verify([source]); | 6260 verify([source]); |
| 6261 reset(); | 6261 reset(); |
| 6262 } | 6262 } |
| 6263 | 6263 |
| 6264 Future<Null> _check_wrongNumberOfParametersForOperator1(String name) async { | 6264 Future<Null> _check_wrongNumberOfParametersForOperator1(String name) async { |
| 6265 await _check_wrongNumberOfParametersForOperator(name, "a"); | 6265 await _check_wrongNumberOfParametersForOperator(name, "a"); |
| 6266 } | 6266 } |
| 6267 | |
| 6268 Future<CompilationUnit> _getResolvedLibraryUnit(Source source) async { | |
| 6269 return analysisContext.getResolvedCompilationUnit2(source, source); | |
| 6270 } | |
| 6271 } | 6267 } |
| OLD | NEW |