1. 15 5月, 2016 1 次提交
  2. 06 5月, 2016 1 次提交
  3. 04 5月, 2016 1 次提交
  4. 03 5月, 2016 1 次提交
  5. 28 4月, 2016 1 次提交
  6. 27 4月, 2016 2 次提交
  7. 26 4月, 2016 1 次提交
  8. 25 4月, 2016 2 次提交
    • J
      Add an option to omit UNITY_OUTPUT_CHAR declaration from the header · 593a0346
      jsalling 提交于
       This solves the warnings from -Wredundant-decls when overriding the
        OUTPUT function with a function declared in another header.
       It's better this is the non-default option, since using it requires either
        a declaration of the new function OR a preprocessor guard on declaring
        UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function.
       See Pull Request #185 for more.
      593a0346
    • J
      Revert commits 720ea42a and a27b03c7 which broke the Fixture build · 57348172
      jsalling 提交于
       These were aimed at preventing the internals header from declaring
        a prototype for 'int UNITY_OUTPUT_CHAR(int);'. The second part fixed
        an omitted declaration in the tests caused by the first commit.
       Will replace the default behavior & add an option for this in next commit
      57348172
  9. 13 4月, 2016 2 次提交
  10. 03 3月, 2016 2 次提交
  11. 25 2月, 2016 2 次提交
  12. 24 2月, 2016 1 次提交
  13. 13 2月, 2016 1 次提交
  14. 07 1月, 2016 1 次提交
    • 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
  15. 05 1月, 2016 1 次提交
  16. 29 12月, 2015 1 次提交
  17. 15 12月, 2015 1 次提交
  18. 11 12月, 2015 4 次提交
  19. 08 12月, 2015 1 次提交
  20. 24 11月, 2015 2 次提交
  21. 13 11月, 2015 1 次提交
  22. 29 10月, 2015 1 次提交
    • A
      define setUp and tearDown under UNITY_WEAK_PRAGMA · d4b83f18
      Andy Isaacson 提交于
      The intent of UNITY_WEAK_PRAGMA is that we have weak symbols for setUp
      and tearDown in unity.o, so that developers can override these symbols
      if needed but the link works right if they are not defined.
      
      In order to do this using #pragma, the pragma and the definition of the
      function (not the declaration) need to be present in the same translation
      unit (source code file).
      
      Previously, the UNITY_WEAK_PRAGMA code was just declaring the setUp
      function, but not defining it, which means that developers had to add an
      empty setUp function to their tests in order to link.
      d4b83f18
  23. 03 8月, 2015 1 次提交
  24. 15 7月, 2015 1 次提交
  25. 01 7月, 2015 1 次提交
  26. 20 6月, 2015 2 次提交
  27. 19 6月, 2015 1 次提交
  28. 23 5月, 2015 1 次提交
    • S
      Reverting of redundant casting from 89b003ed · 59aed006
      Sergey Gusarov 提交于
      Double castings look ugly. And if Unity is compiled with -Wcast-qual flag these type castings produce a lot of warnings:
      unity/src/unity.c:490:80: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
                           UnityPrintNumberByStyle(*(UNITY_PTR_ATTRIBUTE const _US16*)(void*)ptr_exp, style);
                                                                                      ^
      59aed006
  29. 23 4月, 2015 1 次提交
  30. 12 3月, 2015 1 次提交