Changeset b2d1df3 in mainline for uspace/srv/hid/display/test/window.c


Ignore:
Timestamp:
2019-11-06T13:20:41Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
648e2ac
Parents:
be15256
git-author:
Jiri Svoboda <jiri@…> (2019-10-03 18:20:38)
git-committer:
Jiri Svoboda <jiri@…> (2019-11-06 13:20:41)
Message:

Fix test, add missing tests for ds_client and ds_display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/test/window.c

    rbe15256 rb2d1df3  
    3333
    3434#include "../client.h"
     35#include "../display.h"
    3536#include "../window.h"
    3637
     
    4243PCUT_TEST(window_get_ctx)
    4344{
     45        ds_display_t *disp;
    4446        ds_client_t *client;
    4547        ds_window_t *wnd;
     
    4749        errno_t rc;
    4850
    49         rc = ds_client_create(NULL, NULL, NULL, &client);
     51        rc = ds_display_create(NULL, &disp);
     52        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     53
     54        rc = ds_client_create(disp, NULL, NULL, &client);
    5055        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    5156
     
    5863        ds_window_delete(wnd);
    5964        ds_client_destroy(client);
     65        ds_display_destroy(disp);
    6066}
    6167
Note: See TracChangeset for help on using the changeset viewer.