From: Daniel Wagner <[email protected]> Hi,
I have digged into some problems I found with the unit testing. Of course I had to fix some bugs in the unit code first (doh) and then in the session code. As it turned out there were a few nasty ref counting bugs... Daniel Wagner (13): unit: Use D-Bus watch for testing ConnMan running unit: Add PropertyChanged watch for Manager unit: Add manager state callback unit: Fix connect disconnect test service: Wait for pending service disconnect service: Extend debug message for session refcounting session: Handle configure state session: Change is_connected to is_online session: Move code session: Disconnect Session on destroy session: Track reason on a session level session: Fix disconnect reason session: Refactor test_and_disconnect() src/connman.h | 4 +- src/manager.c | 9 ++- src/service.c | 66 ++++++++++++--- src/session.c | 228 ++++++++++++++++++++++++++++++++------------------- unit/manager-api.c | 73 ++++++++++++++++ unit/test-connman.h | 13 +++- unit/test-session.c | 138 +++++++++++++++++++++---------- unit/utils.c | 75 +++++++++++++++++ 8 files changed, 459 insertions(+), 147 deletions(-) -- 1.7.6 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
