[Windows] Remove global state in keyboard tests (flutter/engine#47829)

Currently the keyboard tests use global state to track key calls. As a result, a good test can fail if a bad test leaves key calls in the global state. This removes the global state and ensures each test is isolated.

Preparation for https://github.com/flutter/flutter/issues/115611

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Loïc Sharma
2023-11-08 16:10:05 -08:00
committed by GitHub
parent 5f8e18d0f8
commit 9aee1bdaff