c2a8f8b5d56157355034375dae1b29df78e1d357 |
|
01-Sep-2011 |
Nathan Williams <njw@chromium.org> |
Add a test framework for ModemManager and use it to test SMS parsing. The test framework includes a tool to set up a fake network device (using the tun interface), a fake modem (using ptys, a regexp engine, and tweaking of the regexp responses via DBus), and a library that overrides the GUdev library interfaces to give us complete control over what devices and device properties the program under test sees. BUG=chromium-os:20096 TEST=self Change-Id: I99af909ae381c278c66067acd9d689f24c40f4ab Reviewed-on: http://gerrit.chromium.org/gerrit/7814 Commit-Ready: Nathan J. Williams <njw@chromium.org> Reviewed-by: Nathan J. Williams <njw@chromium.org> Tested-by: Nathan J. Williams <njw@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakenet.c
|