Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gobex: Add unit test for encoding/decoding apparam headers | Luiz Augusto von Dentz | 2012-08-16 | 1 | -0/+46 |
| | |||||
* | gobex: Add unit tests for GObexApparam API | Luiz Augusto von Dentz | 2012-08-16 | 1 | -0/+422 |
| | |||||
* | gobex: Remove g_idle_add to exit main loop in test_stream_put_req_abort() | Jaganath Kanakkassery | 2012-05-04 | 1 | -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 ABORT | Luiz Augusto von Dentz | 2012-04-12 | 2 | -5/+66 |
| | | | | | | | 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 ABORT | Jaganath Kanakkassery | 2012-02-02 | 1 | -0/+50 |
| | |||||
* | gobex: fix unit test when using SOCK_SEQPACKET | Luiz Augusto von Dentz | 2012-01-11 | 1 | -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 packets | Luiz Augusto von Dentz | 2011-12-30 | 1 | -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 SRM | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+74 |
| | |||||
* | gobex: add unit test for GET request with SRM and SRMP additional wait | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+72 |
| | |||||
* | gobex: add unit test for GET request with SRM and SRMP wait | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+70 |
| | |||||
* | gobex: add unit test for GET response with SRM and SRMP wait | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+84 |
| | |||||
* | gobex: add unit test for PUT response with SRM and SRMP wait | Luiz Augusto von Dentz | 2011-12-30 | 1 | -1/+86 |
| | |||||
* | gobex: add unit test for PUT request with SRM and SRMP wait | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+66 |
| | |||||
* | gobex: add unit test for GET request with SRM | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+65 |
| | |||||
* | gobex: add unit test for PUT response with SRM | Luiz Augusto von Dentz | 2011-12-30 | 2 | -0/+100 |
| | |||||
* | gobex: add unit test for GET response with SRM enable | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+90 |
| | |||||
* | gobex: add unit test for PUT request with SRM | Luiz Augusto von Dentz | 2011-12-30 | 2 | -3/+68 |
| | |||||
* | gobex: add unit test for GET response with random data | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+80 |
| | |||||
* | gobex: add unit test for GET request with random data | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+62 |
| | |||||
* | gobex: add unit test for PUT response with random data | Luiz Augusto von Dentz | 2011-12-30 | 1 | -0/+89 |
| | |||||
* | gobex: add unit test for packet PUT request with random data | Luiz Augusto von Dentz | 2011-12-08 | 1 | -3/+16 |
| | |||||
* | gobex: remove unused delay on test_put_req_random | Luiz Augusto von Dentz | 2011-12-08 | 1 | -1/+0 |
| | |||||
* | gobex: fix wrong name of test_get_rsp_eagain | Luiz Augusto von Dentz | 2011-12-08 | 1 | -1/+1 |
| | |||||
* | gobex: always set CONNECTION_ID to 1 on unit tests | Luiz Augusto von Dentz | 2011-12-08 | 1 | -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 APPARAM | Luiz Augusto von Dentz | 2011-11-25 | 1 | -0/+68 |
| | |||||
* | gobex: add unit test for GET request with APPARAM | Luiz Augusto von Dentz | 2011-11-25 | 1 | -0/+58 |
| | |||||
* | gobex: add unit test for GET request with delay | Luiz Augusto von Dentz | 2011-11-25 | 1 | -0/+44 |
| | |||||
* | gobex: add unit test for PUT response with delay | Luiz Augusto von Dentz | 2011-11-25 | 1 | -0/+86 |
| | |||||
* | gobex: Add "cd ../dir" handling in setpath | Bartosz Szatkowski | 2011-11-18 | 1 | -0/+42 |
| | |||||
* | gobex: add unit test for CONNECT followed by PUT request with random data | Luiz Augusto von Dentz | 2011-11-12 | 2 | -1/+64 |
| | | | | | | 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 response | Luiz Augusto von Dentz | 2011-11-12 | 1 | -0/+52 |
| | |||||
* | gobex: add unit test for CONNECT followed by PUT response | Luiz Augusto von Dentz | 2011-11-12 | 1 | -0/+61 |
| | |||||
* | gobex: add unit test for CONNECT followed by PUT request | Luiz Augusto von Dentz | 2011-11-12 | 1 | -1/+75 |
| | |||||
* | gobex: add unit test for CONNECT followed by GET response | Luiz Augusto von Dentz | 2011-11-12 | 1 | -0/+59 |
| | |||||
* | gobex: add unit test for CONNECT followed by GET request | Luiz Augusto von Dentz | 2011-11-12 | 1 | -0/+67 |
| | |||||
* | gobex: add unit test for CONNECT response | Luiz Augusto von Dentz | 2011-11-12 | 2 | -0/+63 |
| | |||||
* | gobex: add unit test for CONNECT request | Luiz Augusto von Dentz | 2011-11-12 | 1 | -0/+57 |
| | |||||
* | gobex: Fix decoding byte array headers with too small length | Johan Hedberg | 2011-10-06 | 1 | -0/+8 |
| | | | | Length values of less than 3 are invalid. | ||||
* | gobex: Add unit tests for Action command functions | Johan Hedberg | 2011-08-30 | 1 | -0/+88 |
| | |||||
* | gobex: Add random put request test | Luiz Augusto von Dentz | 2011-08-29 | 2 | -16/+90 |
| | |||||
* | Fix encoding of empty unicode headers | Jakub Adamek | 2011-08-22 | 1 | -0/+55 |
| | | | | | | | | | | | | According to IrOBEX: "An empty Name header is defined as a Name header of length 3 (one byte opcode + two byte length)." The current code encodes an empty header with 5 bytes, including two bytes of null-terminator. This patch assumes that this definition of emptiness applies to all unicode headers, not just the name header. | ||||
* | gobex: Add support for returning -EAGAIN from producer callback | Johan Hedberg | 2011-07-16 | 2 | -2/+138 |
| | |||||
* | gobex: Fix put request handling with final bit value | Johan Hedberg | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | gobex: Merge gobex-transfer.h into gobex.h | Johan Hedberg | 2011-07-16 | 1 | -1/+0 |
| | |||||
* | gobex: Make use of va-args headers in higher level functions | Johan Hedberg | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | gobex: Fix minor memory leak in unit test | Johan Hedberg | 2011-07-16 | 1 | -0/+1 |
| | |||||
* | gobex: Make transfer functions take va-args header lists | Johan Hedberg | 2011-07-16 | 1 | -8/+15 |
| | |||||
* | gobex: Remove _ID_ from header type definitions | Johan Hedberg | 2011-07-16 | 4 | -59/+53 |
| | |||||
* | gobex: Add va-args based packet creation support | Johan Hedberg | 2011-07-16 | 3 | -11/+50 |
| | |||||
* | gobex: Remove unneeded data_policy from g_obex_header_new_bytes | Johan Hedberg | 2011-07-16 | 1 | -1/+1 |
| |