Changeset 5d380b6 in mainline for uspace/lib/ui/test/menubar.c
- Timestamp:
- 2023-01-20T11:50:41Z (23 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1f0a14
- Parents:
- 6828a56
- git-author:
- Jiri Svoboda <jiri@…> (2023-01-20 19:50:21)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-01-20 11:50:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/menubar.c
r6828a56 r5d380b6 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 235 235 PCUT_ASSERT_FALSE(ui_menu_is_open(menu)); 236 236 237 ui_menu_bar_press_accel(mbar, 't' );237 ui_menu_bar_press_accel(mbar, 't', 0); 238 238 239 239 PCUT_ASSERT_TRUE(ui_menu_is_open(menu)); … … 329 329 PCUT_ASSERT_NOT_NULL(menu2); 330 330 331 ui_menu_bar_select(mbar, menu1, true );331 ui_menu_bar_select(mbar, menu1, true, 0); 332 332 PCUT_ASSERT_EQUALS(menu1, mbar->selected); 333 333 334 334 /* Selecting different menu should select it */ 335 ui_menu_bar_select(mbar, menu2, true );335 ui_menu_bar_select(mbar, menu2, true, 0); 336 336 PCUT_ASSERT_EQUALS(menu2, mbar->selected); 337 337
Note:
See TracChangeset
for help on using the changeset viewer.