Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.
This commit is contained in:
@@ -37,11 +37,8 @@ static void testBinaryOutput(void)
|
||||
test_object_instance = Binary_Output_Index_To_Instance(0);
|
||||
zassert_equal(object_instance, test_object_instance, NULL);
|
||||
bacnet_object_properties_read_write_test(
|
||||
OBJECT_BINARY_OUTPUT,
|
||||
object_instance,
|
||||
Binary_Output_Property_Lists,
|
||||
Binary_Output_Read_Property,
|
||||
Binary_Output_Write_Property,
|
||||
OBJECT_BINARY_OUTPUT, object_instance, Binary_Output_Property_Lists,
|
||||
Binary_Output_Read_Property, Binary_Output_Write_Property,
|
||||
skip_fail_property_list);
|
||||
status = Binary_Output_Delete(object_instance);
|
||||
zassert_true(status, NULL);
|
||||
@@ -50,15 +47,12 @@ static void testBinaryOutput(void)
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
#if defined(CONFIG_ZTEST_NEW_API)
|
||||
ZTEST_SUITE(bo_tests, NULL, NULL, NULL, NULL, NULL);
|
||||
#else
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(bo_tests,
|
||||
ztest_unit_test(testBinaryOutput)
|
||||
);
|
||||
ztest_test_suite(bo_tests, ztest_unit_test(testBinaryOutput));
|
||||
|
||||
ztest_run_test_suite(bo_tests);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user