| OLD | NEW | 
|---|
| 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/plugin/protocol/protocol.dart'; | 9 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 
| 10 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39 | 39 | 
| 40     setUp(() { | 40     setUp(() { | 
| 41       ExtensionManager manager = new ExtensionManager(); | 41       ExtensionManager manager = new ExtensionManager(); | 
| 42       ServerPlugin serverPlugin = new ServerPlugin(); | 42       ServerPlugin serverPlugin = new ServerPlugin(); | 
| 43       manager.processPlugins([serverPlugin]); | 43       manager.processPlugins([serverPlugin]); | 
| 44       server = new AnalysisServer( | 44       server = new AnalysisServer( | 
| 45           new MockServerChannel(), | 45           new MockServerChannel(), | 
| 46           provider, | 46           provider, | 
| 47           new MockPackageMapProvider(), | 47           new MockPackageMapProvider(), | 
| 48           null, | 48           null, | 
| 49           null, |  | 
| 50           serverPlugin, | 49           serverPlugin, | 
| 51           new AnalysisServerOptions(), | 50           new AnalysisServerOptions(), | 
| 52           () => new MockSdk(), | 51           () => new MockSdk(), | 
| 53           InstrumentationService.NULL_SERVICE); | 52           InstrumentationService.NULL_SERVICE); | 
| 54       handler = new ExecutionDomainHandler(server); | 53       handler = new ExecutionDomainHandler(server); | 
| 55     }); | 54     }); | 
| 56 | 55 | 
| 57     group('createContext/deleteContext', () { | 56     group('createContext/deleteContext', () { | 
| 58       test('create/delete multiple contexts', () { | 57       test('create/delete multiple contexts', () { | 
| 59         Request request = | 58         Request request = | 
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 349  * A [Source] that knows it's [fullName]. | 348  * A [Source] that knows it's [fullName]. | 
| 350  */ | 349  */ | 
| 351 class TestSource implements Source { | 350 class TestSource implements Source { | 
| 352   String fullName; | 351   String fullName; | 
| 353 | 352 | 
| 354   TestSource(this.fullName); | 353   TestSource(this.fullName); | 
| 355 | 354 | 
| 356   @override | 355   @override | 
| 357   noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 356   noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 
| 358 } | 357 } | 
| OLD | NEW | 
|---|