[][src]Module sixtyfps_corelib::tests

Functions usefull for testing

Functions

send_keyboard_string_sequence

Simulate a character input event.

sixtyfps_mock_elapsed_time

SixtyFPS animations do not use real time, but use a mocked time. Normally, the event loop update the time of the animation using real time, but in tests, it is more convinient to use the fake time. This function will add some milliseconds to the fake time

sixtyfps_send_key_clicks

Simulate a key down event.

sixtyfps_send_mouse_click

Simulate a click on a position within the component.

sixtyfps_set_keyboard_modifiers

Simulate a change in keyboard modifiers pressed.