Skip to content

Commit 31a20db

Browse files
committed
Removing leftover test artifacts from original implementation
1 parent d9593fb commit 31a20db

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

packages/webview_flutter/webview_flutter/test/webview_flutter_test.dart

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -986,11 +986,6 @@ class FakePlatformWebView {
986986
debuggingEnabled = params['settings']['debuggingEnabled'];
987987
userAgent = params['settings']['userAgent'];
988988
zoomEnabled = params['settings']['zoomEnabled'] ?? true;
989-
builtInZoomControlsEnabled =
990-
params['settings']['builtInZoomControlsEnabled'] ?? true;
991-
displayZoomControls = params['settings']['displayZoomControls'] ?? false;
992-
useWideViewPort = params['settings']['useWideViewPort'];
993-
loadWithOverviewMode = params['settings']['loadWithOverviewMode'];
994989
channel = MethodChannel(
995990
'plugins.flutter.io/webview_$id', const StandardMethodCodec());
996991
channel.setMockMethodCallHandler(onMethodCall);
@@ -1011,10 +1006,6 @@ class FakePlatformWebView {
10111006
bool? debuggingEnabled;
10121007
String? userAgent;
10131008
bool? zoomEnabled;
1014-
bool? builtInZoomControlsEnabled;
1015-
bool? displayZoomControls;
1016-
bool? useWideViewPort;
1017-
bool? loadWithOverviewMode;
10181009

10191010
Future<dynamic> onMethodCall(MethodCall call) {
10201011
switch (call.method) {
@@ -1036,19 +1027,6 @@ class FakePlatformWebView {
10361027
if (call.arguments['zoomEnabled'] != null) {
10371028
zoomEnabled = call.arguments['zoomEnabled'];
10381029
}
1039-
if (call.arguments['builtInZoomControlsEnabled'] != null) {
1040-
builtInZoomControlsEnabled =
1041-
call.arguments['builtInZoomControlsEnabled'];
1042-
}
1043-
if (call.arguments['displayZoomControls'] != null) {
1044-
displayZoomControls = call.arguments['displayZoomControls'];
1045-
}
1046-
if (call.arguments['useWideViewPort'] != null) {
1047-
useWideViewPort = call.arguments['useWideViewPort'];
1048-
}
1049-
if (call.arguments['loadWithOverviewMode'] != null) {
1050-
loadWithOverviewMode = call.arguments['loadWithOverviewMode'];
1051-
}
10521030
break;
10531031
case 'canGoBack':
10541032
return Future<bool>.sync(() => currentPosition > 0);

0 commit comments

Comments
 (0)