| 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.engine_test; | 5 library analyzer.test.generated.engine_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/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 } | 455 } |
| 456 | 456 |
| 457 @override | 457 @override |
| 458 CompilationUnitElement getCompilationUnitElement( | 458 CompilationUnitElement getCompilationUnitElement( |
| 459 Source unitSource, Source librarySource) { | 459 Source unitSource, Source librarySource) { |
| 460 fail("Unexpected invocation of getCompilationUnitElement"); | 460 fail("Unexpected invocation of getCompilationUnitElement"); |
| 461 return null; | 461 return null; |
| 462 } | 462 } |
| 463 | 463 |
| 464 @override | 464 @override |
| 465 Object getConfigurationData(ResultDescriptor key) { | 465 Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key) { |
| 466 fail("Unexpected invocation of getConfigurationData"); | 466 fail("Unexpected invocation of getConfigurationData"); |
| 467 return null; | 467 return null; |
| 468 } | 468 } |
| 469 | 469 |
| 470 @override | 470 @override |
| 471 TimestampedData<String> getContents(Source source) { | 471 TimestampedData<String> getContents(Source source) { |
| 472 fail("Unexpected invocation of getContents"); | 472 fail("Unexpected invocation of getContents"); |
| 473 return null; | 473 return null; |
| 474 } | 474 } |
| 475 | 475 |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 bool validateCacheConsistency() { | 688 bool validateCacheConsistency() { |
| 689 fail("Unexpected invocation of validateCacheConsistency"); | 689 fail("Unexpected invocation of validateCacheConsistency"); |
| 690 return false; | 690 return false; |
| 691 } | 691 } |
| 692 | 692 |
| 693 @override | 693 @override |
| 694 void visitContentCache(ContentCacheVisitor visitor) { | 694 void visitContentCache(ContentCacheVisitor visitor) { |
| 695 fail("Unexpected invocation of visitContentCache"); | 695 fail("Unexpected invocation of visitContentCache"); |
| 696 } | 696 } |
| 697 } | 697 } |
| OLD | NEW |