1. 13 4月, 2016 1 次提交
  2. 03 3月, 2016 1 次提交
  3. 27 2月, 2016 1 次提交
  4. 07 1月, 2016 2 次提交
    • J
      Fix for overflow issue in UnityAssertNumbersWithin() · 41083190
      jsalling 提交于
       Make subtraction result unsigned, change prototype & casts in internals.
       If "actual - expected" overflowed, it wrapped to a negative number,
        but would fit in an unsigned type, example is INT_MAX - (-1) = INT_MIN
       For correctness, 'delta' should be unsigned too. Passing in a negative
        number always passed. The delta can be between INT_MAX & UINT_MAX.
      41083190
    • J
      Fix trailing whitespace CRLF, no code changes · 04adb2d2
      jsalling 提交于
       Now that the project is using .gitattributes, get rid of CRLF in the repo.
      04adb2d2
  5. 11 12月, 2015 3 次提交
  6. 08 12月, 2015 1 次提交
  7. 24 11月, 2015 3 次提交
  8. 13 11月, 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 9月, 2015 1 次提交
  11. 21 7月, 2015 1 次提交
  12. 19 6月, 2015 1 次提交
  13. 23 4月, 2015 1 次提交
  14. 16 12月, 2014 1 次提交
    • Z
      New macros for controlling use of weak linkage · cadee02e
      Zane D. Purvis 提交于
       - `UNITY_WEAK_ATTRIBUTE`, if defined, is placed before declarations of weakly
         linked symbols. If not manually defined, it will be automatically set to
         `__attribute__((weak))` on GCC and Clang, except for Clang for Win32.
       - `UNITY_WEAK_PRAGMA`, if defined, will cause preprocessor to emit
         `#pragma weak setUp`, etc. Ignored if `UNITY_WEAK_ATTRIBUTE` is defined.
       - `UNITY_NO_WEAK` undefines both of the above resulting in no weakly
         linked symbols.
      
      Work around for ThrowTheSwitch/Unity#93
      cadee02e
  15. 27 10月, 2014 1 次提交
  16. 25 10月, 2014 1 次提交
  17. 31 7月, 2014 1 次提交
    • M
      reenable results summary. · 14b07433
      Mark VanderVoord 提交于
      support tests named spec as well.
      clean up UnityBegin to make us not have to dig inside it to inject the filename.
      Add UNITY_OUTPUT_START() and UNITY_OUTPUT_COMPLETE() for future use.
      14b07433
  18. 30 7月, 2014 3 次提交
  19. 29 7月, 2014 1 次提交
  20. 23 7月, 2014 1 次提交
  21. 22 7月, 2014 4 次提交
  22. 09 7月, 2014 1 次提交
  23. 08 3月, 2014 1 次提交
  24. 06 3月, 2014 1 次提交
  25. 01 3月, 2014 3 次提交
  26. 23 9月, 2013 1 次提交
  27. 17 9月, 2013 1 次提交
    • A
      Allow pointer types to have an attribute · 6dd44f23
      Antony Male 提交于
      Microchip's XC16 and friends, when used with dsPICs, require that all pointers
      to memory which could possibly be in EDS space by adorned with __eds__, e.g.
      
          __eds__ int* p_int
      
      Adding the macro UNITY_PTR_ATTRIBUTE allows Unity's pointers to be decorated
      with whatever ridiculous attributes the compiler requires.
      6dd44f23
  28. 30 11月, 2012 1 次提交