Skip to content

Key simulation obsolete comment #122297

@bleroux

Description

@bleroux

The following comment is repeated several times in flutter_test/lib/src/controller.dart and flutter_test/lib/src/event_simulation.dart:

 /// Some platforms (e.g. Windows, iOS) are not yet supported.

When, #43948 landed (the PR which added these comments), simulating key events for Windows and iOS were not supported. Since then Windows and iOS support were added as shown in KeyEventSimulator._osIsSupported:

static bool _osIsSupported(String platform) {
switch (platform) {
case 'android':
case 'fuchsia':
case 'macos':
case 'linux':
case 'web':
case 'ios':
case 'windows':
return true;
}

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsa: text inputEntering text in a text field or keyboard related problemsd: api docsIssues with https://api.flutter.dev/found in release: 3.7Found to occur in 3.7found in release: 3.9Found to occur in 3.9frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions