Changes in uspace/lib/tbarcfg/test/tbarcfg.c [bff8619:ee3b28a9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/tbarcfg/test/tbarcfg.c
rbff8619 ree3b28a9 57 57 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 58 58 59 tbarcfg_sync(tbcfg);60 59 tbarcfg_close(tbcfg); 61 60 … … 171 170 PCUT_ASSERT_TRUE(smenu_entry_get_separator(e2)); 172 171 173 tbarcfg_sync(tbcfg);174 172 tbarcfg_close(tbcfg); 175 173 … … 263 261 smenu_entry_set_terminal(e, true); 264 262 265 rc = tbarcfg_sync(tbcfg);263 rc = smenu_entry_save(e); 266 264 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 267 265 … … 274 272 PCUT_ASSERT_TRUE(terminal); 275 273 276 tbarcfg_sync(tbcfg);277 274 tbarcfg_close(tbcfg); 278 275 … … 362 359 PCUT_ASSERT_EQUALS(e, f); 363 360 364 smenu_entry_destroy(e); 361 rc = smenu_entry_destroy(e); 362 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 365 363 366 364 f = tbarcfg_smenu_first(tbcfg); … … 402 400 /* Moving the first entry up should have no effect */ 403 401 404 smenu_entry_move_up(e1); 402 rc = smenu_entry_move_up(e1); 403 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 405 404 406 405 f = tbarcfg_smenu_first(tbcfg); … … 409 408 /* Moving the second entry up should move it to first position */ 410 409 411 smenu_entry_move_up(e2); 410 rc = smenu_entry_move_up(e2); 411 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 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 smenu_entry_move_up(e3); 418 rc = smenu_entry_move_up(e3); 419 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 419 420 420 421 f = tbarcfg_smenu_first(tbcfg); … … 427 428 PCUT_ASSERT_EQUALS(e1, f); 428 429 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 smenu_entry_move_down(e3); 498 rc = smenu_entry_move_down(e3); 499 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 499 500 500 501 f = tbarcfg_smenu_last(tbcfg); … … 503 504 /* Moving the second entry down should move it to last position */ 504 505 505 smenu_entry_move_down(e2); 506 rc = smenu_entry_move_down(e2); 507 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 506 508 507 509 f = tbarcfg_smenu_last(tbcfg); … … 510 512 /* Moving the first entry down should move it to second position */ 511 513 512 smenu_entry_move_down(e1); 514 rc = smenu_entry_move_down(e1); 515 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 513 516 514 517 f = tbarcfg_smenu_last(tbcfg); … … 521 524 PCUT_ASSERT_EQUALS(e3, f); 522 525 523 tbarcfg_sync(tbcfg);524 526 tbarcfg_close(tbcfg); 525 527
Note:
See TracChangeset
for help on using the changeset viewer.