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

Side by Side Diff: pkg/analysis_server/test/edit/edit_domain_test.dart

Issue 402333006: Implementation of the 'edit.getFixes' API in server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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.domain.edit; 5 library test.domain.edit;
6 6
7 import 'package:analysis_server/src/analysis_server.dart'; 7 import 'package:analysis_server/src/analysis_server.dart';
8 import 'package:analysis_server/src/constants.dart'; 8 import 'package:analysis_server/src/constants.dart';
9 import 'package:analysis_server/src/domain_edit.dart'; 9 import 'package:analysis_server/src/edit/edit_domain.dart';
10 import 'package:analysis_server/src/protocol.dart'; 10 import 'package:analysis_server/src/protocol.dart';
11 import 'package:analysis_services/constants.dart'; 11 import 'package:analysis_services/constants.dart';
12 import 'package:analysis_testing/mock_sdk.dart'; 12 import 'package:analysis_testing/mock_sdk.dart';
13 import 'package:analyzer/file_system/memory_file_system.dart'; 13 import 'package:analyzer/file_system/memory_file_system.dart';
14 import 'package:unittest/unittest.dart'; 14 import 'package:unittest/unittest.dart';
15 15
16 import 'mocks.dart'; 16 import '../mocks.dart';
17 17
18 main() { 18 main() {
19 groupSep = ' | '; 19 groupSep = ' | ';
20 20
21 MockServerChannel serverChannel; 21 MockServerChannel serverChannel;
22 MemoryResourceProvider resourceProvider; 22 MemoryResourceProvider resourceProvider;
23 AnalysisServer server; 23 AnalysisServer server;
24 EditDomainHandler handler; 24 EditDomainHandler handler;
25 25
26 setUp(() { 26 setUp(() {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 test('setRefactoringOptions', () { 91 test('setRefactoringOptions', () {
92 var request = new Request('0', EDIT_SET_REFACTORING_OPTIONS); 92 var request = new Request('0', EDIT_SET_REFACTORING_OPTIONS);
93 request.setParameter(ID, null); 93 request.setParameter(ID, null);
94 var response = handler.handleRequest(request); 94 var response = handler.handleRequest(request);
95 // TODO(brianwilkerson) implement 95 // TODO(brianwilkerson) implement
96 //expect(response, isNull); 96 //expect(response, isNull);
97 }); 97 });
98 }); 98 });
99 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698