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

Unified Diff: pkg/analysis_server/test/domain_execution_test.dart

Issue 896423004: Use MemoryResourceProvider in server and execution domain tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/test/domain_server_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/domain_execution_test.dart
diff --git a/pkg/analysis_server/test/domain_execution_test.dart b/pkg/analysis_server/test/domain_execution_test.dart
index fd63c423c29c5a073367fa03eecfff171138e962..a77ccf8a6899c5ea1a5f63cd8d88ba60b93423f0 100644
--- a/pkg/analysis_server/test/domain_execution_test.dart
+++ b/pkg/analysis_server/test/domain_execution_test.dart
@@ -10,7 +10,7 @@ import 'package:analysis_server/src/analysis_server.dart';
import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/domain_execution.dart';
import 'package:analysis_server/src/protocol.dart';
-import 'package:analyzer/file_system/physical_file_system.dart';
+import 'package:analyzer/file_system/memory_file_system.dart';
import 'package:analyzer/instrumentation/instrumentation.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
@@ -31,13 +31,14 @@ Matcher isExecutableFile(Source source, ExecutableKind kind) {
main() {
group('ExecutionDomainHandler', () {
+ MemoryResourceProvider provider = new MemoryResourceProvider();
AnalysisServer server;
ExecutionDomainHandler handler;
setUp(() {
server = new AnalysisServer(
new MockServerChannel(),
- PhysicalResourceProvider.INSTANCE,
+ provider,
new MockPackageMapProvider(),
null,
new AnalysisServerOptions(),
« no previous file with comments | « no previous file | pkg/analysis_server/test/domain_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698