C++: Move internal testing function to the internal namespace

Remove send_keyboard_char as it doesn't appear to be used
(while send_keyboard_string_sequence is used in a single test)
This commit is contained in:
Olivier Goffart 2024-04-23 10:09:46 +02:00
parent c1707d52e1
commit 7c3f8683b7
2 changed files with 2 additions and 16 deletions

View file

@ -504,7 +504,7 @@ SCENARIO("Send key events")
"");
REQUIRE(comp_def.has_value());
auto instance = comp_def->create();
slint::testing::send_keyboard_string_sequence(&*instance, "Hello keys!");
slint::private_api::testing::send_keyboard_string_sequence(&*instance, "Hello keys!");
REQUIRE(*instance->get_property("result")->to_string() == "Hello keys!");
}