Add Windows application lifecycle hooks #4903
The testbed doesn't include platform-specific tests. If there's something that needs to be tested, we find a platform-agnostic way to express that test, and then put the implementation in the test probe.
For the purpose of lifecycle hooks, if the event isn't triggered as part of normal app operation, we have historically been accepting a no-cover on those handlers. However, if you're able to find a generic representation for the "type" of event that can't be triggered as part of the test suite (e.g., triggering events that are part of the app being put into the background), then a generic test that is implemented in the probe would be acceptable.
The structure of this documentation isn't consistent with the accepted style/format that has been used for iOS, Android and macOS.
Thanks for the PR; it's currently failing CI by causing a timeout on the platforms that this change modifies.
There's also some issues with style/consistency, which I've flagged inline.
freakboy3742
sinha20abhishek2007-debug
<!--- Describe your changes in detail -->
<!--- What problem does this change solve? -->
<!--- If this PR relates to an issue, include Refs #XXX or Fixes #XXX -->
PR Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. --><!-- update or delete the next line to reflect your usage -->
Assisted-by: ChatGpt