Re: [PATCH BlueZ 1/2] unit: Add initial tests for sdp_extract_attr()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Tue, Jan 8, 2013 at 6:46 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> A better test case data could look like this:
>
>         struct test_data {
>                 const void *input_data;
>                 size_t input_size;
>                 uint8_t dtd;
>         };
>
> And we can add combinations of structs and unions here to represent the
> different testes.
>
> Also I would create a nice helper define like I did with define_ssa()
> for example to create the test data and the test with a nice name.

I just sent a v2 of the SDP DE tests based on your suggestions (the 2
other patches are just refactoring of existing code).

Let me know if this new format is fine, so I can proceed with adding
other tests.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux