Update the signature of DDS launcher callback. (#154949)
Following https://dart-review.googlesource.com/c/sdk/+/383901
This commit is contained in:
@@ -277,7 +277,7 @@ void main() {
|
||||
bool enableServicePortFallback = false,
|
||||
List<String> cachedUserTags = const <String>[],
|
||||
String? dartExecutable,
|
||||
Uri? google3WorkspaceRoot,
|
||||
String? google3WorkspaceRoot,
|
||||
}) async {
|
||||
return FakeDartDevelopmentServiceLauncher(uri: Uri.parse('http://localhost:1234'));
|
||||
};
|
||||
|
||||
@@ -1947,7 +1947,7 @@ flutter:
|
||||
bool enableServicePortFallback = false,
|
||||
List<String> cachedUserTags = const <String>[],
|
||||
String? dartExecutable,
|
||||
Uri? google3WorkspaceRoot,
|
||||
String? google3WorkspaceRoot,
|
||||
}) {
|
||||
throw DartDevelopmentServiceException.existingDdsInstance(
|
||||
'Existing DDS at http://localhost/existingDdsInMessage.',
|
||||
@@ -1996,7 +1996,7 @@ flutter:
|
||||
bool enableServicePortFallback = false,
|
||||
List<String> cachedUserTags = const <String>[],
|
||||
String? dartExecutable,
|
||||
Uri? google3WorkspaceRoot,
|
||||
String? google3WorkspaceRoot,
|
||||
}) async {
|
||||
expect(remoteVmServiceUri, Uri(scheme: 'foo', host: 'bar'));
|
||||
expect(enableAuthCodes, isFalse);
|
||||
@@ -2043,7 +2043,7 @@ flutter:
|
||||
bool enableServicePortFallback = false,
|
||||
List<String> cachedUserTags = const <String>[],
|
||||
String? dartExecutable,
|
||||
Uri? google3WorkspaceRoot,
|
||||
String? google3WorkspaceRoot,
|
||||
}) {
|
||||
expect(remoteVmServiceUri, Uri(scheme: 'foo', host: 'bar'));
|
||||
expect(enableAuthCodes, isTrue);
|
||||
|
||||
Reference in New Issue
Block a user