Commit Graph

136 Commits

Author SHA1 Message Date
Johan Hedberg
d76690df91 gobex: Add invalid packet data decoding test 2012-12-04 22:21:57 +01:00
Johan Hedberg
a8f0a73b48 gobex: Add invalid header data decoding tests 2012-12-04 22:21:57 +01:00
Johan Hedberg
f2b4c7bc5d gobex: Add basic packet encoding test 2012-12-04 22:21:57 +01:00
Johan Hedberg
aa1b87b6d8 gobex: Add initial GError support 2012-12-04 22:21:57 +01:00
Johan Hedberg
31ebc74e69 gobex: Add disconnect callback support 2012-12-04 22:21:57 +01:00
Johan Hedberg
d455694af2 gobex: Split unit tests into separate modules 2012-12-04 22:21:57 +01:00
Johan Hedberg
b105277b97 gobex: Split gobex.c into multiple modules 2012-12-04 22:21:57 +01:00
Johan Hedberg
d3558f1c0b gobex: Make Action ID test data less predictable 2012-12-04 22:21:57 +01:00
Johan Hedberg
0302f86230 gobex: Add functions for fetching data from packets 2012-12-04 22:21:56 +01:00
Johan Hedberg
55b393abb0 gobex: Name header creation functions more intuitively 2012-12-04 22:21:56 +01:00
Johan Hedberg
b76d71e5b2 gobex: Refactor reading/writing to allow packet based transport 2012-12-04 22:21:56 +01:00
Johan Hedberg
fd01c40449 gobex: Add basic response handling 2012-12-04 22:21:56 +01:00
Johan Hedberg
0b92685e8b gobex: Refactor test endpoint creation into create_endpoints() 2012-12-04 22:21:56 +01:00
Johan Hedberg
57e8d5af63 gobex: Fix minor leak in test_recv_connect_stream 2012-12-04 22:21:56 +01:00
Johan Hedberg
8005be3b8a gobex: Add basic packet sending support 2012-12-04 22:21:56 +01:00
Johan Hedberg
aafd18d9d3 gobex: Rename transfer tests to accomodate for new ones 2012-12-04 22:21:56 +01:00
Johan Hedberg
339a4789e4 gobex: Fix OBEX version in connect packet 2012-12-04 22:21:56 +01:00
Johan Hedberg
95b7ce7165 gobex: Make G_OBEX_FINAL definition private 2012-12-04 22:21:56 +01:00
Johan Hedberg
2e94a60c20 gobex: Add basic request callback support 2012-12-04 22:21:56 +01:00
Johan Hedberg
22c146eb06 gobex: Clean up handling of the final bit 2012-12-04 22:21:56 +01:00
Johan Hedberg
b568973ba3 gobex: Minor coding style fixes 2012-12-04 22:21:56 +01:00
Johan Hedberg
5bb407c82b gobex: Rename parse_header tests to decode_header 2012-12-04 22:21:56 +01:00
Johan Hedberg
9966d11291 gobex: Rename GObexRequest to GObexPacket 2012-12-04 22:21:56 +01:00
Johan Hedberg
8d451283e0 gobex: Add basic request decoding support 2012-12-04 22:21:56 +01:00
Johan Hedberg
352a739a89 gobex: Use enum instead of boolean for data policy 2012-12-04 22:21:56 +01:00
Johan Hedberg
0e858224b1 gobex: Rename header_parse to header_decode to match header_encode 2012-12-04 22:21:56 +01:00
Johan Hedberg
b9f6da0fe1 gobex: Fix parse_and_decode->parse_and_encode naming 2012-12-04 22:21:55 +01:00
Johan Hedberg
cf9afde062 gobex: Add header creation functions 2012-12-04 22:21:55 +01:00
Johan Hedberg
579f895300 gobex: Add header encoding support 2012-12-04 22:21:55 +01:00
Johan Hedberg
e8c4fe5aa7 gobex: Add basic header parsing support 2012-12-04 22:21:55 +01:00
Johan Hedberg
b8cd1913e6 gobex: Add request stubs 2012-12-04 22:21:55 +01:00
Johan Hedberg
fd46bedda3 gobex: Refactor basic unit tests 2012-12-04 22:21:55 +01:00
Johan Hedberg
d3a5f0f47d gobex: Add initial unit tests 2012-12-04 22:21:55 +01:00
Johan Hedberg
9d387f4372 Convert unit tests from GLib to GNU Check 2011-10-25 10:08:07 +02:00
Frédéric Danis
bb957be6a4 Add EIR length parameter to eir_parse()
LE uses shorter EIR (31 bytes) than HCI (240 bytes)
2011-10-21 13:35:01 +03:00
Johan Hedberg
029077107e Add basic unit tests framework for EIR parsing 2011-10-18 23:58:12 +03:00