| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.src.serialization.elements_test; | 5 library test.src.serialization.elements_test; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
| 8 import 'package:analyzer/dart/element/element.dart'; | 8 import 'package:analyzer/dart/element/element.dart'; |
| 9 import 'package:analyzer/dart/element/type.dart'; | 9 import 'package:analyzer/dart/element/type.dart'; |
| 10 import 'package:analyzer/src/dart/element/element.dart'; | 10 import 'package:analyzer/src/dart/element/element.dart'; |
| 11 import 'package:analyzer/src/dart/element/member.dart'; | 11 import 'package:analyzer/src/dart/element/member.dart'; |
| 12 import 'package:analyzer/src/dart/element/type.dart'; | 12 import 'package:analyzer/src/dart/element/type.dart'; |
| 13 import 'package:analyzer/src/generated/element_handle.dart'; | 13 import 'package:analyzer/src/generated/element_handle.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
| 15 import 'package:analyzer/src/generated/resolver.dart' | 15 import 'package:analyzer/src/generated/resolver.dart' |
| 16 show Namespace, TypeProvider; | 16 show Namespace, TypeProvider; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:analyzer/src/summary/format.dart'; | 18 import 'package:analyzer/src/summary/idl.dart'; |
| 19 import 'package:analyzer/src/summary/resynthesize.dart'; | 19 import 'package:analyzer/src/summary/resynthesize.dart'; |
| 20 import 'package:analyzer/src/summary/summarize_elements.dart'; | 20 import 'package:analyzer/src/summary/summarize_elements.dart'; |
| 21 import 'package:unittest/unittest.dart'; | 21 import 'package:unittest/unittest.dart'; |
| 22 | 22 |
| 23 import '../../generated/resolver_test.dart'; | 23 import '../../generated/resolver_test.dart'; |
| 24 import '../../reflective_tests.dart'; | 24 import '../../reflective_tests.dart'; |
| 25 | 25 |
| 26 main() { | 26 main() { |
| 27 groupSep = ' | '; | 27 groupSep = ' | '; |
| 28 runReflectiveTests(ResynthTest); | 28 runReflectiveTests(ResynthTest); |
| (...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2489 fail('Unexpectedly tried to get unlinked summary for $uri'); | 2489 fail('Unexpectedly tried to get unlinked summary for $uri'); |
| 2490 } | 2490 } |
| 2491 return serializedUnit; | 2491 return serializedUnit; |
| 2492 } | 2492 } |
| 2493 | 2493 |
| 2494 @override | 2494 @override |
| 2495 bool hasLibrarySummary(String uri) { | 2495 bool hasLibrarySummary(String uri) { |
| 2496 return true; | 2496 return true; |
| 2497 } | 2497 } |
| 2498 } | 2498 } |
| OLD | NEW |