1. 09 9月, 2020 1 次提交
  2. 30 10月, 2019 2 次提交
  3. 11 2月, 2018 1 次提交
  4. 18 1月, 2017 1 次提交
  5. 15 1月, 2017 1 次提交
  6. 24 8月, 2016 1 次提交
  7. 09 2月, 2016 1 次提交
  8. 16 12月, 2015 1 次提交
  9. 15 10月, 2015 1 次提交
    • J
      MISRA rule 19.10: parentheses around macro params · 1273112a
      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.
      1273112a
  10. 18 8月, 2015 1 次提交
  11. 15 7月, 2015 1 次提交
  12. 18 1月, 2015 1 次提交
    • N
      Added stricter error checks by the compiler, and adapted all impacted code. · b389c71e
      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.
      b389c71e
  13. 23 9月, 2013 1 次提交
  14. 12 1月, 2013 1 次提交
  15. 22 12月, 2012 1 次提交
  16. 09 3月, 2011 1 次提交
  17. 30 11月, 2010 1 次提交