- 30 10月, 2019 2 次提交
-
-
由 mvandervoord 提交于
-
由 mvandervoord 提交于
-
- 11 2月, 2018 1 次提交
-
-
由 Jeremy Hannon 提交于
parameter names should match between declaration and definition. (MISRA 2004 rule 16.4)
-
- 18 1月, 2017 1 次提交
-
-
由 jsalling 提交于
-
- 15 1月, 2017 1 次提交
-
-
由 jsalling 提交于
-
- 24 8月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 09 2月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 16 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Defining a group_runner which calls group_runner_runAll() is redundant
-
- 15 10月, 2015 1 次提交
-
-
由 Jeremy Hannon 提交于
Added parentheses around all macro parameters to resolve MISRA 2004 rule 19.10, "in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis" as tested with the IAR EW for 8051 compiler, version 9.20.2. The only questionable change is in "unity_fixture.h" where the nested macro DECLARE_TEST_CASE in RUN_TEST_CASE prevents surrounding params "group" and "name" with parentheses. However, it appears that macro DECLARE_TEST_CASE isn't used elsewhere, so I eliminated DECLARE_TEST_CASE and put its expansion directly in RUN_TEST_CASE. Now the following header files pass rule 19.10: * unity.h * unity_internals.h * unity_fixture.h For my own project, this change to the Unity test framework allows me to include my unit test code to be tested against MISRA rules as well, instead of just production code, to help enforce style and team guidelines.
-
- 18 8月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
Output used headers from test runner generator
-
- 15 7月, 2015 1 次提交
-
-
由 Nimrod Zimerman 提交于
Ignored tests are now correctly skipped if not selected by test name or by group name.
-
- 18 1月, 2015 1 次提交
-
-
由 nimrodz 提交于
Primarily - * Added "static" to static functions. * Added proper signature with "void" to functions without arguments. * Marked unused arguments with "(void)". * Removed entirely unused static functions. * Added "const" to preserve const-correctness. * Added function prototypes for external functions.
-
- 23 9月, 2013 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 12 1月, 2013 1 次提交
-
-
由 Bryan A. Jones 提交于
Likewise, place all function prototypes before statements. These changes support Microsoft Visual Studio 2008 Express Edition, which follows C89-style rules.
-
- 22 12月, 2012 1 次提交
-
-
由 Dennis Lambe Jr 提交于
More details here: http://forums.pragprog.com/forums/123/topics/10126
-
- 09 3月, 2011 1 次提交
-
-
由 mvandervoord 提交于
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@124 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
-
- 30 11月, 2010 1 次提交
-
-
由 mvandervoord 提交于
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@106 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
-