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

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

Issue 756193002: Add --enable-incremental-resolution option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | 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.execution; 5 library test.domain.execution;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
10 import 'package:analysis_server/src/constants.dart'; 10 import 'package:analysis_server/src/constants.dart';
(...skipping 21 matching lines...) Expand all
32 group('ExecutionDomainHandler', () { 32 group('ExecutionDomainHandler', () {
33 AnalysisServer server; 33 AnalysisServer server;
34 ExecutionDomainHandler handler; 34 ExecutionDomainHandler handler;
35 35
36 setUp(() { 36 setUp(() {
37 server = new AnalysisServer( 37 server = new AnalysisServer(
38 new MockServerChannel(), 38 new MockServerChannel(),
39 PhysicalResourceProvider.INSTANCE, 39 PhysicalResourceProvider.INSTANCE,
40 new MockPackageMapProvider(), 40 new MockPackageMapProvider(),
41 null, 41 null,
42 new AnalysisServerOptions(),
42 new MockSdk()); 43 new MockSdk());
43 handler = new ExecutionDomainHandler(server); 44 handler = new ExecutionDomainHandler(server);
44 }); 45 });
45 46
46 group('createContext/deleteContext', () { 47 group('createContext/deleteContext', () {
47 test('create/delete multiple contexts', () { 48 test('create/delete multiple contexts', () {
48 Request request = 49 Request request =
49 new ExecutionCreateContextParams('/a/b.dart').toRequest('0'); 50 new ExecutionCreateContextParams('/a/b.dart').toRequest('0');
50 Response response = handler.handleRequest(request); 51 Response response = handler.handleRequest(request);
51 expect(response, isResponseSuccess('0')); 52 expect(response, isResponseSuccess('0'));
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 * A [Source] that knows it's [fullName]. 269 * A [Source] that knows it's [fullName].
269 */ 270 */
270 class TestSource implements Source { 271 class TestSource implements Source {
271 String fullName; 272 String fullName;
272 273
273 TestSource(this.fullName); 274 TestSource(this.fullName);
274 275
275 @override 276 @override
276 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 277 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
277 } 278 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_analysis_test.dart ('k') | pkg/analysis_server/test/domain_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698