Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: pkg/analyzer/test/src/summary/summary_test.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/plugin/plugin_config_test.dart ('k') | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698