mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
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:
parent
c1707d52e1
commit
7c3f8683b7
2 changed files with 2 additions and 16 deletions
|
|
@ -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!");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue