summaryrefslogtreecommitdiff
path: root/unit/test-gobex-transfer.c
Commit message (Collapse)AuthorAgeFilesLines
* gobex: Remove g_idle_add to exit main loop in test_stream_put_req_abort()Jaganath Kanakkassery2012-05-041-7/+3
| | | | | A callback is provided in g_obex_cancel_transfer() which will be called when abort completes which exists the mail loop as well
* gobex: Fix unit test for PUT request followed by ABORTLuiz Augusto von Dentz2012-04-121-5/+64
| | | | | | | gobex was actually used to respond not to request so the test is renamed to test_stream_put_rsp_abort and a new test is created using g_obex_put_req to initiate the request and g_obex_cancel_transfer to abort it.
* gobex: Add unit test for PUT request followed by ABORTJaganath Kanakkassery2012-02-021-0/+50
|
* gobex: fix unit test when using SOCK_SEQPACKETLuiz Augusto von Dentz2012-01-111-265/+48
| | | | | | | | | Now that SRM is automatically configured when the transport type is SOCK_SEQPACKET all tests that uses this transport are already testing SRM so there is no need to keep adding the headers manually. In addition to that remove the tests for SRM using SOCK_STREAM since those are currently not supported without including the headers.
* gobex: simplify naming of tests when transfering sequence of packetsLuiz Augusto von Dentz2011-12-301-186/+178
| | | | | Before random was used but the number of packets were not really random so now seq is used instead.
* gobex: add unit test for CONN followed by PUT request with SRMLuiz Augusto von Dentz2011-12-301-0/+74
|
* gobex: add unit test for GET request with SRM and SRMP additional waitLuiz Augusto von Dentz2011-12-301-0/+72
|
* gobex: add unit test for GET request with SRM and SRMP waitLuiz Augusto von Dentz2011-12-301-0/+70
|
* gobex: add unit test for GET response with SRM and SRMP waitLuiz Augusto von Dentz2011-12-301-0/+84
|
* gobex: add unit test for PUT response with SRM and SRMP waitLuiz Augusto von Dentz2011-12-301-1/+86
|
* gobex: add unit test for PUT request with SRM and SRMP waitLuiz Augusto von Dentz2011-12-301-0/+66
|
* gobex: add unit test for GET request with SRMLuiz Augusto von Dentz2011-12-301-0/+65
|
* gobex: add unit test for PUT response with SRMLuiz Augusto von Dentz2011-12-301-0/+93
|
* gobex: add unit test for GET response with SRM enableLuiz Augusto von Dentz2011-12-301-0/+90
|
* gobex: add unit test for PUT request with SRMLuiz Augusto von Dentz2011-12-301-2/+67
|
* gobex: add unit test for GET response with random dataLuiz Augusto von Dentz2011-12-301-0/+80
|
* gobex: add unit test for GET request with random dataLuiz Augusto von Dentz2011-12-301-0/+62
|
* gobex: add unit test for PUT response with random dataLuiz Augusto von Dentz2011-12-301-0/+89
|
* gobex: add unit test for packet PUT request with random dataLuiz Augusto von Dentz2011-12-081-3/+16
|
* gobex: remove unused delay on test_put_req_randomLuiz Augusto von Dentz2011-12-081-1/+0
|
* gobex: fix wrong name of test_get_rsp_eagainLuiz Augusto von Dentz2011-12-081-1/+1
|
* gobex: always set CONNECTION_ID to 1 on unit testsLuiz Augusto von Dentz2011-12-081-29/+12
| | | | | This simplify the creation of new test by not requiring different variables for every connection response.
* gobex: add unit test for GET response with APPARAMLuiz Augusto von Dentz2011-11-251-0/+68
|
* gobex: add unit test for GET request with APPARAMLuiz Augusto von Dentz2011-11-251-0/+58
|
* gobex: add unit test for GET request with delayLuiz Augusto von Dentz2011-11-251-0/+44
|
* gobex: add unit test for PUT response with delayLuiz Augusto von Dentz2011-11-251-0/+86
|
* gobex: add unit test for CONNECT followed by PUT request with random dataLuiz Augusto von Dentz2011-11-121-0/+63
| | | | | | Note that in order to work the buffer had to be increased to OBEX maximum MTU otherwise test_io_cb would be sending responses for each fragment it has read which may not constitute a full packet.
* gobex: add unit test for CONNECT followed by GET wrong responseLuiz Augusto von Dentz2011-11-121-0/+52
|
* gobex: add unit test for CONNECT followed by PUT responseLuiz Augusto von Dentz2011-11-121-0/+61
|
* gobex: add unit test for CONNECT followed by PUT requestLuiz Augusto von Dentz2011-11-121-1/+75
|
* gobex: add unit test for CONNECT followed by GET responseLuiz Augusto von Dentz2011-11-121-0/+59
|
* gobex: add unit test for CONNECT followed by GET requestLuiz Augusto von Dentz2011-11-121-0/+67
|
* gobex: add unit test for CONNECT responseLuiz Augusto von Dentz2011-11-121-0/+60
|
* gobex: add unit test for CONNECT requestLuiz Augusto von Dentz2011-11-121-0/+57
|
* gobex: Add random put request testLuiz Augusto von Dentz2011-08-291-14/+88
|
* gobex: Add support for returning -EAGAIN from producer callbackJohan Hedberg2011-07-161-0/+135
|
* gobex: Fix put request handling with final bit valueJohan Hedberg2011-07-161-1/+1
|
* gobex: Merge gobex-transfer.h into gobex.hJohan Hedberg2011-07-161-1/+0
|
* gobex: Make transfer functions take va-args header listsJohan Hedberg2011-07-161-8/+15
|
* gobex: Remove _ID_ from header type definitionsJohan Hedberg2011-07-161-9/+9
|
* gobex: Add va-args based packet creation supportJohan Hedberg2011-07-161-2/+2
|
* gobex: Allow calling g_obex_get_rsp later with custom headersJohan Hedberg2011-07-161-1/+1
|
* gobex: Refactor common unit test functions to util.cJohan Hedberg2011-07-161-121/+30
|
* gobex: Add unit tests for g_obex_suspend & g_obex_resumeJohan Hedberg2011-07-161-0/+102
|
* gobex: Assert correct io_cb count in transfer unit testsJohan Hedberg2011-07-161-0/+8
|
* gobex: Refactor transfer unit test IO callbacksJohan Hedberg2011-07-161-217/+41
|
* gobex: Add g_obex_get_rspJohan Hedberg2011-07-161-2/+123
|
* gobex: Add g_obex_get_reqJohan Hedberg2011-07-161-31/+145
|
* gobex: Extend g_obex_put_rsp unit test to have two rounds of requestsJohan Hedberg2011-07-161-3/+66
|
* gobex: Add unit test for g_obex_put_rspJohan Hedberg2011-07-161-2/+76
|