Skip to content

Commit

Permalink
Account for the optional parameters that will be added in package:vm_…
Browse files Browse the repository at this point in the history
…service 14.3.0

This is needed to land the SDK CL that checks in package:vm_service 14.3.0, because this is needed to make the g3-cbuild-try job pass.
  • Loading branch information
derekxu16 committed Sep 9, 2024
1 parent 5457f57 commit 3bf9c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class VmServiceWrapper extends VmService {
String objectId, {
int? offset,
int? count,
String? idZoneId,
}) {
final cachedObj = fakeServiceCache.getObject(
objectId: objectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
String objectId, {
int? offset,
int? count,
String? idZoneId,
}) {
return Future.value(MockObj());
}
Expand All @@ -298,7 +299,11 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
}

@override
Future<Stack> getStack(String isolateId, {int? limit}) {
Future<Stack> getStack(
String isolateId, {
int? limit,
String? idZoneId,
}) {
return Future.value(Stack(frames: [], messages: [], truncated: false));
}

Expand Down

0 comments on commit 3bf9c4d

Please sign in to comment.