| 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 analyzer.test.src.summary.summary_test; |
| 6 | 6 |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 8 | 8 |
| 9 import 'package:analyzer/src/generated/element.dart'; | 9 import 'package:analyzer/src/generated/element.dart'; |
| 10 import 'package:analyzer/src/generated/engine.dart'; | 10 import 'package:analyzer/src/generated/engine.dart'; |
| 11 import 'package:analyzer/src/generated/java_engine_io.dart'; | 11 import 'package:analyzer/src/generated/java_engine_io.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 import 'package:analyzer/src/summary/builder.dart'; | 13 import 'package:analyzer/src/summary/builder.dart'; |
| 14 import 'package:analyzer/src/summary/format.dart'; | 14 import 'package:analyzer/src/summary/format.dart'; |
| 15 import 'package:analyzer/src/summary/summarize_elements.dart' | 15 import 'package:analyzer/src/summary/summarize_elements.dart' |
| (...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 serializeClassText('class C { static int i; }').fields[0]; | 1849 serializeClassText('class C { static int i; }').fields[0]; |
| 1850 expect(variable.isStatic, isTrue); | 1850 expect(variable.isStatic, isTrue); |
| 1851 } | 1851 } |
| 1852 | 1852 |
| 1853 test_variable_type() { | 1853 test_variable_type() { |
| 1854 UnlinkedVariable variable = | 1854 UnlinkedVariable variable = |
| 1855 serializeVariableText('int i;', variableName: 'i'); | 1855 serializeVariableText('int i;', variableName: 'i'); |
| 1856 checkTypeRef(variable.type, 'dart:core', 'dart:core', 'int'); | 1856 checkTypeRef(variable.type, 'dart:core', 'dart:core', 'int'); |
| 1857 } | 1857 } |
| 1858 } | 1858 } |
| OLD | NEW |