Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.
This commit is contained in:
@@ -38,12 +38,9 @@ static void testMultistateValue(void)
|
||||
test_object_instance = Multistate_Value_Index_To_Instance(0);
|
||||
zassert_equal(object_instance, test_object_instance, NULL);
|
||||
bacnet_object_properties_read_write_test(
|
||||
OBJECT_MULTI_STATE_VALUE,
|
||||
object_instance,
|
||||
Multistate_Value_Property_Lists,
|
||||
Multistate_Value_Read_Property,
|
||||
Multistate_Value_Write_Property,
|
||||
skip_fail_property_list);
|
||||
OBJECT_MULTI_STATE_VALUE, object_instance,
|
||||
Multistate_Value_Property_Lists, Multistate_Value_Read_Property,
|
||||
Multistate_Value_Write_Property, skip_fail_property_list);
|
||||
status = Multistate_Value_Delete(object_instance);
|
||||
zassert_true(status, NULL);
|
||||
}
|
||||
@@ -51,15 +48,12 @@ static void testMultistateValue(void)
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
#if defined(CONFIG_ZTEST_NEW_API)
|
||||
ZTEST_SUITE(msv_tests, NULL, NULL, NULL, NULL, NULL);
|
||||
#else
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(msv_tests,
|
||||
ztest_unit_test(testMultistateValue)
|
||||
);
|
||||
ztest_test_suite(msv_tests, ztest_unit_test(testMultistateValue));
|
||||
|
||||
ztest_run_test_suite(msv_tests);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user