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

Side by Side Diff: pkg/analysis_server/test/protocol_server_test.dart

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment Created 4 years, 3 months 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) 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 'dart:mirrors'; 7 import 'dart:mirrors';
8 8
9 import 'package:analysis_server/src/constants.dart'; 9 import 'package:analysis_server/src/constants.dart';
10 import 'package:analysis_server/src/protocol_server.dart'; 10 import 'package:analysis_server/src/protocol_server.dart';
11 import 'package:analysis_server/src/services/search/search_engine.dart'; 11 import 'package:analysis_server/src/services/search/search_engine.dart';
12 import 'package:analyzer/dart/ast/ast.dart' as engine; 12 import 'package:analyzer/dart/ast/ast.dart' as engine;
13 import 'package:analyzer/dart/element/element.dart' as engine; 13 import 'package:analyzer/dart/element/element.dart' as engine;
14 import 'package:analyzer/dart/element/type.dart' as engine; 14 import 'package:analyzer/dart/element/type.dart' as engine;
15 import 'package:analyzer/src/generated/error.dart' as engine; 15 import 'package:analyzer/error/error.dart' as engine;
16 import 'package:analyzer/src/error/codes.dart' as engine;
16 import 'package:analyzer/src/generated/source.dart' as engine; 17 import 'package:analyzer/src/generated/source.dart' as engine;
17 import 'package:test_reflective_loader/test_reflective_loader.dart'; 18 import 'package:test_reflective_loader/test_reflective_loader.dart';
18 import 'package:typed_mock/typed_mock.dart'; 19 import 'package:typed_mock/typed_mock.dart';
19 import 'package:unittest/unittest.dart'; 20 import 'package:unittest/unittest.dart';
20 21
21 import 'mocks.dart'; 22 import 'mocks.dart';
22 import 'utils.dart'; 23 import 'utils.dart';
23 24
24 main() { 25 main() {
25 initializeTestEnvironment(); 26 initializeTestEnvironment();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ApiEnum apiValue = convert(engineValue); 187 ApiEnum apiValue = convert(engineValue);
187 expect(apiValue, equals(expectedResult)); 188 expect(apiValue, equals(expectedResult));
188 } 189 }
189 } else { 190 } else {
190 ApiEnum apiValue = convert(engineValue); 191 ApiEnum apiValue = convert(engineValue);
191 expect(apiValue.name, equals(enumName)); 192 expect(apiValue.name, equals(enumName));
192 } 193 }
193 }); 194 });
194 } 195 }
195 } 196 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698