1. 27 2月, 2016 1 次提交
  2. 26 2月, 2016 1 次提交
    • J
      Delete function call syntax from Spy detect macros · f55bed38
      jsalling 提交于
       This fixes #168. See that github.com issue for more discussion.
       Allows the tests to build when putchar() is defined as a macro
        with parenthesis around it, as in the ARM embedded gcc compiler.
      f55bed38
  3. 25 2月, 2016 1 次提交
  4. 24 2月, 2016 1 次提交
  5. 18 2月, 2016 2 次提交
  6. 10 2月, 2016 4 次提交
  7. 09 2月, 2016 2 次提交
  8. 06 2月, 2016 2 次提交
  9. 02 2月, 2016 1 次提交
    • J
      Add configuration option UNITY_EXCLUDE_STDLIB_MALLOC to Fixture · 955b2212
      jsalling 提交于
       This feature removes the dependency on malloc/free for constrained
        embedded systems without a heap. It uses a static heap inside
        Unity Fixture. Setting UNITY_INTERNAL_HEAP_SIZE_BYTES sizes the heap.
       Add tests for new option, add targets to makefile for running tests.
       UNITY_FIXTURE_MALLOC for Fixture use only, remove from unity_output_Spy.c.
      955b2212
  10. 01 2月, 2016 2 次提交
  11. 31 1月, 2016 1 次提交
  12. 20 1月, 2016 2 次提交
  13. 16 1月, 2016 1 次提交
  14. 07 1月, 2016 1 次提交
  15. 23 12月, 2015 1 次提交
  16. 22 12月, 2015 1 次提交
  17. 19 12月, 2015 1 次提交
  18. 17 12月, 2015 1 次提交
  19. 16 12月, 2015 3 次提交
  20. 08 12月, 2015 1 次提交
  21. 24 11月, 2015 2 次提交
  22. 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
  23. 06 10月, 2015 1 次提交
  24. 18 8月, 2015 1 次提交
  25. 15 7月, 2015 2 次提交
  26. 02 7月, 2015 1 次提交
  27. 01 7月, 2015 2 次提交