Hi Grzegorz, On Tue, Dec 17, 2013, Grzegorz Kolodziejczyk wrote: > This adds CLASS_OF_DEVICE set property fail test case due to only > get possibility. > --- > android/android-tester.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/android/android-tester.c b/android/android-tester.c > index 4fe0033..a6f66c2 100644 > --- a/android/android-tester.c > +++ b/android/android-tester.c > @@ -608,6 +608,16 @@ static const struct generic_data bluetooth_setprop_uuid_invalid_test = { > .expected_property.len = 17 > }; > > +static uint32_t setprop_class_of_device = 0; > + > +static const struct generic_data bluetooth_setprop_cod_invalid_test = { > + .expected_hal_callbacks = {ADAPTER_TEST_END}, > + .expected_adapter_status = BT_STATUS_FAIL, > + .expected_property.type = BT_PROPERTY_CLASS_OF_DEVICE, > + .expected_property.val = &setprop_class_of_device, > + .expected_property.len = sizeof(uint32_t) sizeof(setprop_class_of_device) makes more sense than uint32_t. Johan -- 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