summaryrefslogtreecommitdiff
path: root/unit/test-mgmt.c
Commit message (Collapse)AuthorAgeFilesLines
* unit: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 25 LGPL-2.1-or-later : 1 GPL-2.0-only : 2 BSD-2-Clause : 1 License: GPL-2.0-or-later unit/test-hog.c unit/test-eir.c unit/test-gobex-header.c unit/test-crc.c unit/test-avrcp.c unit/test-ringbuf.c unit/test-gobex-apparam.c unit/test-gobex.c unit/test-hfp.c unit/test-textfile.c unit/test-avdtp.c unit/test-sdp.c unit/test-gatt.c unit/test-avctp.c unit/test-gattrib.c unit/test-queue.c unit/test-gobex-packet.c unit/test-uuid.c unit/test-crypto.c unit/test-uhid.c unit/test-gdbus-client.c unit/test-midi.c unit/test-lib.c unit/test-mgmt.c unit/test-gobex-transfer.c License: LGPL-2.1-or-later unit/test-mesh-crypto.c License: GPL-2.0-only unit/util.h unit/util.c License: BSD-2-Clause unit/test-ecc.c
* unit/test-mgmt: Add /mgmt/destroy/1 testLuiz Augusto von Dentz2014-12-121-0/+29
| | | | This tests if mgmt_unref can be called within event callback.
* unit/test-mgmt: Add /mgmt/unregister/2 testLuiz Augusto von Dentz2014-12-121-0/+28
| | | | This tests if mgmt_unregister_index can be called within event callback.
* unit/test-mgmt: Add /mgmt/unregister/1 testLuiz Augusto von Dentz2014-12-121-0/+29
| | | | This tests if mgmt_unregister_all can be called within event callback.
* unit/test-mgmt: Add /mgmt/event/2 testLuiz Augusto von Dentz2014-12-121-0/+20
| | | | This tests if multiple events can be received.
* unit/test-mgmt: Add /mgmt/event/1 testLuiz Augusto von Dentz2014-12-121-0/+36
| | | | This tests if an event can be received.
* unit/test-mgmt: Add /mgmt/response/2 testLuiz Augusto von Dentz2014-12-121-8/+30
| | | | This tests if an error can be received.
* unit/test-mgmt: Add /mgmt/response/1 testLuiz Augusto von Dentz2014-12-121-2/+50
| | | | This tests if a success response can be received.
* unit: Replace g_test_fail() with g_assert_not_reached()Syam Sidhardhan2013-01-091-1/+1
| | | | | | | | | | | | | | | g_test_fail() is introduced in Glib v2.30 and we are using Glib v2.28 as the minimum requirement for the build. This patch resolves the compilation error that happen with Glib v2.28. Error log: CC unit/test-mgmt.o unit/test-mgmt.c: In function ‘check_actions’: unit/test-mgmt.c:100:2: error: implicit declaration of function ‘g_test_fail’ [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[1]: *** [unit/test-mgmt.o] Error 1 make: *** [all] Error 2
* unit: Add simpler mgmt unit test utilityMarcel Holtmann2013-01-031-0/+243