1. 05 1月, 2016 1 次提交
  2. 29 12月, 2015 1 次提交
  3. 15 12月, 2015 1 次提交
  4. 11 12月, 2015 4 次提交
  5. 08 12月, 2015 1 次提交
  6. 24 11月, 2015 2 次提交
  7. 13 11月, 2015 1 次提交
  8. 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
  9. 03 8月, 2015 1 次提交
  10. 15 7月, 2015 1 次提交
  11. 01 7月, 2015 1 次提交
  12. 20 6月, 2015 2 次提交
  13. 19 6月, 2015 1 次提交
  14. 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
  15. 23 4月, 2015 1 次提交
  16. 12 3月, 2015 1 次提交
  17. 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
  18. 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
  19. 07 12月, 2014 1 次提交
  20. 03 12月, 2014 1 次提交
  21. 09 11月, 2014 1 次提交
  22. 02 11月, 2014 2 次提交
  23. 27 10月, 2014 1 次提交
  24. 03 9月, 2014 1 次提交
  25. 02 9月, 2014 2 次提交
  26. 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
  27. 30 7月, 2014 1 次提交
  28. 23 7月, 2014 1 次提交
  29. 22 7月, 2014 4 次提交
  30. 09 7月, 2014 1 次提交