libqmi: new qmidev_unittest

Write a new version of qmidev_unittest that tests connect and disconnect
callbacks, makes sure they're called from qmidev_process, and also uses
the mock device (since I can't just use /dev/null, because epoll won't add
it).

BUG=None
TEST=is a unittest, passes

Change-Id: Idb0c92ff48cc783c8f62d732d30264170a300b29
1 file changed
tree: 7ecc2c86d0d0fdac0313fbc8753565e54f38282e
  1. LICENSE
  2. Makefile
  3. README
  4. include/
  5. src/