Remove 1745 decorative breaks (#123259)

Remove 1745 decorative breaks
This commit is contained in:
Michael Goderbauer
2023-03-22 14:12:22 -07:00
committed by GitHub
parent 14a15dedbe
commit fda9ecfef7
291 changed files with 2 additions and 1749 deletions

View File

@@ -41,10 +41,8 @@ class IOCallbackManager implements CallbackManager {
data: testRunner.reportData,
).toJson(),
};
break;
case 'get_health':
response = <String, String>{'status': 'ok'};
break;
default:
throw UnimplementedError('$command is not implemented');
}
@@ -109,7 +107,6 @@ class IOCallbackManager implements CallbackManager {
switch (call.method) {
case 'scheduleFrame':
PlatformDispatcher.instance.scheduleFrame();
break;
}
return null;
}

View File

@@ -91,7 +91,6 @@ class WebCallbackManager implements CallbackManager {
: _requestDataWithMessage(params['message']!, testRunner);
case 'get_health':
response = <String, String>{'status': 'ok'};
break;
default:
throw UnimplementedError('$command is not implemented');
}
@@ -119,14 +118,12 @@ class WebCallbackManager implements CallbackManager {
response = <String, String>{
'message': Response.webDriverCommand(data: data).toJson(),
};
break;
case WebDriverCommandType.noop:
final Map<String, dynamic> data = <String, dynamic>{};
data.addAll(WebDriverCommand.typeToMap(WebDriverCommandType.noop));
response = <String, String>{
'message': Response.webDriverCommand(data: data).toJson(),
};
break;
case WebDriverCommandType.ack:
throw UnimplementedError('${command.type} is not implemented');
}