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

Unified Diff: pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart

Issue 2286923002: Convert analysis server over to use ContextBuilder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: address comment, fix bugs, clean-up Created 4 years, 4 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
Index: pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart
diff --git a/pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart b/pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart
index 2fee03a950cc3e3de058a933d7855c2e6bc1593f..70bd7aa26a81789f127680fa88bed2d0c08e700a 100644
--- a/pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart
+++ b/pkg/analysis_server/test/integration/analysis/get_errors_nonStandard_sdk.dart
@@ -8,8 +8,6 @@ import 'dart:async';
import 'dart:io';
import 'package:analysis_server/plugin/protocol/protocol.dart';
-import 'package:analyzer/file_system/physical_file_system.dart';
-import 'package:analyzer/src/dart/sdk/sdk.dart';
import 'package:analyzer/src/generated/sdk.dart';
import 'package:path/path.dart' as path;
import 'package:test_reflective_loader/test_reflective_loader.dart';
@@ -75,10 +73,14 @@ class AnalysisDomainGetErrorsTest
}
@override
- Future startServer({int servicesPort, bool checked: true}) {
+ Future startServer(
+ {bool checked: true, int diagnosticPort, int servicesPort}) {
String sdkPath = createNonStandardSdk();
return server.start(
- servicesPort: servicesPort, checked: checked, sdkPath: sdkPath);
+ checked: checked,
+ diagnosticPort: diagnosticPort,
+ sdkPath: sdkPath,
+ servicesPort: servicesPort);
}
Future test_getErrors() async {

Powered by Google App Engine
This is Rietveld 408576698