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.computer.element; | 5 library test.computer.element; |
6 | 6 |
7 import 'package:analysis_server/src/computer/element.dart'; | 7 import 'package:analysis_server/src/computer/element.dart'; |
8 import 'package:analysis_services/constants.dart'; | 8 import 'package:analysis_server/src/services/constants.dart'; |
9 import 'package:analysis_testing/abstract_context.dart'; | 9 import 'package:analysis_testing/abstract_context.dart'; |
10 import 'package:analysis_testing/reflective_tests.dart'; | 10 import 'package:analysis_testing/reflective_tests.dart'; |
11 import 'package:analyzer/src/generated/ast.dart'; | 11 import 'package:analyzer/src/generated/ast.dart'; |
12 import 'package:analyzer/src/generated/element.dart' as engine; | 12 import 'package:analyzer/src/generated/element.dart' as engine; |
13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
14 import 'package:analyzer/src/generated/utilities_dart.dart' as engine; | 14 import 'package:analyzer/src/generated/utilities_dart.dart' as engine; |
15 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
16 | 16 |
17 | 17 |
18 | 18 |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 FLAGS: Element.FLAG_DEPRECATED | | 308 FLAGS: Element.FLAG_DEPRECATED | |
309 Element.FLAG_PRIVATE | | 309 Element.FLAG_PRIVATE | |
310 Element.FLAG_STATIC, | 310 Element.FLAG_STATIC, |
311 PARAMETERS: '(int a, String b)', | 311 PARAMETERS: '(int a, String b)', |
312 RETURN_TYPE: 'List<String>' | 312 RETURN_TYPE: 'List<String>' |
313 }; | 313 }; |
314 Element element = new Element.fromJson(json); | 314 Element element = new Element.fromJson(json); |
315 expect(element.toJson(), equals(json)); | 315 expect(element.toJson(), equals(json)); |
316 } | 316 } |
317 } | 317 } |
OLD | NEW |