mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Use the testing backend for the C++ integration tests
This commit is contained in:
parent
a0e910abf0
commit
988c2b0b9d
6 changed files with 18 additions and 2 deletions
|
@ -12,6 +12,11 @@ LICENSE END */
|
|||
#include <iostream>
|
||||
|
||||
namespace sixtyfps::testing {
|
||||
|
||||
inline void init() {
|
||||
cbindgen_private::sixtyfps_testing_init_backend();
|
||||
}
|
||||
|
||||
inline void mock_elapsed_time(int64_t time_in_ms)
|
||||
{
|
||||
cbindgen_private::sixtyfps_mock_elapsed_time(time_in_ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue