Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.

This commit is contained in:
Steve Karg
2024-04-24 09:38:12 -05:00
parent 1aaebe9414
commit 70c54817fd
120 changed files with 2182 additions and 1894 deletions
+7 -7
View File
@@ -57,28 +57,28 @@ void testPropList(void)
property_list_special((BACNET_OBJECT_TYPE)i, &property_list);
zassert_true(
property_list_member(
property_list.Required.pList, PROP_OBJECT_TYPE), NULL);
property_list.Required.pList, PROP_OBJECT_TYPE),
NULL);
zassert_true(
property_list_member(
property_list.Required.pList, PROP_OBJECT_IDENTIFIER), NULL);
property_list.Required.pList, PROP_OBJECT_IDENTIFIER),
NULL);
zassert_true(
property_list_member(
property_list.Required.pList, PROP_OBJECT_NAME), NULL);
property_list.Required.pList, PROP_OBJECT_NAME),
NULL);
}
}
/**
* @}
*/
#if defined(CONFIG_ZTEST_NEW_API)
ZTEST_SUITE(property_tests, NULL, NULL, NULL, NULL, NULL);
#else
void test_main(void)
{
ztest_test_suite(property_tests,
ztest_unit_test(testPropList)
);
ztest_test_suite(property_tests, ztest_unit_test(testPropList));
ztest_run_test_suite(property_tests);
}