mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00
Refactor the testing backend
Move code around and gate the internal functions used in our own tests so we can make the testing backend public
This commit is contained in:
parent
583eadbdbc
commit
8030732f46
12 changed files with 335 additions and 324 deletions
|
@ -138,7 +138,7 @@ pub unsafe extern "C" fn slint_register_bitmap_font(
|
|||
window_adapter.renderer().register_bitmap_font(font_data);
|
||||
}
|
||||
|
||||
#[cfg(feature = "testing")]
|
||||
#[cfg(feature = "internal-testing")]
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn slint_testing_init_backend() {
|
||||
i_slint_backend_testing::init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue