Changeset dcac756 in mainline for uspace/srv/hid/display


Ignore:
Timestamp:
2019-11-10T16:36:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6427f083
Parents:
38e4f42
git-author:
Jiri Svoboda <jiri@…> (2019-11-10 16:32:14)
git-committer:
Jiri Svoboda <jiri@…> (2019-11-10 16:36:53)
Message:

Improve libdisplay tests, fix bugs

Location:
uspace/srv/hid/display
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/client.c

    r38e4f42 rdcac756  
    177177        if (link == NULL)
    178178                return ENOENT;
     179
    179180        wevent = list_get_instance(link, ds_window_ev_t, levents);
     181        list_remove(link);
    180182
    181183        *ewindow = wevent->window;
  • uspace/srv/hid/display/test/client.c

    r38e4f42 rdcac756  
    195195        PCUT_ASSERT_EQUALS(event.c, revent.kbd_event.c);
    196196
     197        rc = ds_client_get_event(client, &rwindow, &revent);
     198        PCUT_ASSERT_ERRNO_VAL(ENOENT, rc);
     199
    197200        ds_window_destroy(wnd);
    198201        ds_client_destroy(client);
Note: See TracChangeset for help on using the changeset viewer.