pub fn init_integration_test_with_mock_time()
Expand description
Initialize the testing backend with support for simple event loop.
This function can only be called once per process, so make sure to use integration
tests with only one #[test]
function. (Or in a doc test)
Must be called before any call that would otherwise initialize the rendering backend.
Calling it when the rendering backend is already initialized will panic.
Note that for animations and timers, the changes in the system time will be disregarded.
Instead, use mock_elapsed_time()
to advance the simulate (mock) time Slint uses.