Changeset ebb1489 in mainline for uspace/lib/tbarcfg/test/tbarcfg.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/tbarcfg/test/tbarcfg.c
r2a0c827c rebb1489 57 57 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 58 58 59 tbarcfg_sync(tbcfg); 59 60 tbarcfg_close(tbcfg); 60 61 … … 170 171 PCUT_ASSERT_TRUE(smenu_entry_get_separator(e2)); 171 172 173 tbarcfg_sync(tbcfg); 172 174 tbarcfg_close(tbcfg); 173 175 … … 261 263 smenu_entry_set_terminal(e, true); 262 264 263 rc = smenu_entry_save(e);265 rc = tbarcfg_sync(tbcfg); 264 266 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 265 267 … … 272 274 PCUT_ASSERT_TRUE(terminal); 273 275 276 tbarcfg_sync(tbcfg); 274 277 tbarcfg_close(tbcfg); 275 278 … … 359 362 PCUT_ASSERT_EQUALS(e, f); 360 363 361 rc = smenu_entry_destroy(e); 362 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 364 smenu_entry_destroy(e); 363 365 364 366 f = tbarcfg_smenu_first(tbcfg); … … 400 402 /* Moving the first entry up should have no effect */ 401 403 402 rc = smenu_entry_move_up(e1); 403 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 404 smenu_entry_move_up(e1); 404 405 405 406 f = tbarcfg_smenu_first(tbcfg); … … 408 409 /* Moving the second entry up should move it to first position */ 409 410 410 rc = smenu_entry_move_up(e2); 411 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 411 smenu_entry_move_up(e2); 412 412 413 413 f = tbarcfg_smenu_first(tbcfg); … … 416 416 /* Moving the last entry up should move it to second position */ 417 417 418 rc = smenu_entry_move_up(e3); 419 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 418 smenu_entry_move_up(e3); 420 419 421 420 f = tbarcfg_smenu_first(tbcfg); … … 428 427 PCUT_ASSERT_EQUALS(e1, f); 429 428 429 tbarcfg_sync(tbcfg); 430 430 tbarcfg_close(tbcfg); 431 431 … … 496 496 /* Moving the last entry down should have no effect */ 497 497 498 rc = smenu_entry_move_down(e3); 499 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 498 smenu_entry_move_down(e3); 500 499 501 500 f = tbarcfg_smenu_last(tbcfg); … … 504 503 /* Moving the second entry down should move it to last position */ 505 504 506 rc = smenu_entry_move_down(e2); 507 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 505 smenu_entry_move_down(e2); 508 506 509 507 f = tbarcfg_smenu_last(tbcfg); … … 512 510 /* Moving the first entry down should move it to second position */ 513 511 514 rc = smenu_entry_move_down(e1); 515 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 512 smenu_entry_move_down(e1); 516 513 517 514 f = tbarcfg_smenu_last(tbcfg); … … 524 521 PCUT_ASSERT_EQUALS(e3, f); 525 522 523 tbarcfg_sync(tbcfg); 526 524 tbarcfg_close(tbcfg); 527 525
Note:
See TracChangeset
for help on using the changeset viewer.