Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/5] Unit tests for GAttrib
@ 2014-10-23 16:33 Michael Janssen
  2014-10-23 16:33 ` [PATCH BlueZ 1/5] Remove unused g_attrib_set_debug function Michael Janssen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Michael Janssen @ 2014-10-23 16:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Michael Janssen

Since we want to shim GAttrib for a smooth transition to bt_att
profiles, this patch cleans up the API and adds unit tests for
GAttrib functions.

This adds tests for all but the register / unregister functions, which
I will send in a separate patch since they are slightly more complicated due
to catchalls.

Michael Janssen (5):
  Remove unused g_attrib_set_debug function
  attrib: Remove MTU-probing code
  attrib: Add mtu argument to g_attrib_new
  attrib: remove g_attrib_is_encrypted
  Add unit test for gattrib

 .gitignore           |   1 +
 Makefile.am          |   7 +
 attrib/gattrib.c     |  38 +---
 attrib/gattrib.h     |   7 +-
 attrib/gatttool.c    |  17 +-
 attrib/interactive.c |  17 +-
 src/attrib-server.c  |   9 +-
 src/device.c         |  11 +-
 unit/test-gattrib.c  | 584 +++++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 645 insertions(+), 46 deletions(-)
 create mode 100644 unit/test-gattrib.c

-- 
2.1.0.rc2.206.gedb03e5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-23 17:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 16:33 [PATCH BlueZ 0/5] Unit tests for GAttrib Michael Janssen
2014-10-23 16:33 ` [PATCH BlueZ 1/5] Remove unused g_attrib_set_debug function Michael Janssen
2014-10-23 16:33 ` [PATCH BlueZ 2/5] attrib: Remove MTU-probing code Michael Janssen
2014-10-23 16:33 ` [PATCH BlueZ 3/5] attrib: Add mtu argument to g_attrib_new Michael Janssen
2014-10-23 16:33 ` [PATCH BlueZ 4/5] attrib: remove g_attrib_is_encrypted Michael Janssen
2014-10-23 16:33 ` [PATCH BlueZ 5/5] Add unit test for gattrib Michael Janssen
2014-10-23 17:50 ` [PATCH BlueZ 0/5] Unit tests for GAttrib Michael Janssen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox