1. 20 6月, 2015 2 次提交
  2. 19 6月, 2015 1 次提交
  3. 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
  4. 23 4月, 2015 1 次提交
  5. 12 3月, 2015 1 次提交
  6. 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
  7. 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
  8. 07 12月, 2014 1 次提交
  9. 03 12月, 2014 1 次提交
  10. 09 11月, 2014 1 次提交
  11. 02 11月, 2014 2 次提交
  12. 27 10月, 2014 1 次提交
  13. 03 9月, 2014 1 次提交
  14. 02 9月, 2014 2 次提交
  15. 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
  16. 30 7月, 2014 1 次提交
  17. 23 7月, 2014 1 次提交
  18. 22 7月, 2014 4 次提交
  19. 09 7月, 2014 1 次提交
  20. 01 7月, 2014 1 次提交
  21. 23 5月, 2014 1 次提交
  22. 08 3月, 2014 1 次提交
  23. 16 2月, 2014 1 次提交
    • J
      Print an EOL before printing the TestResult while executing the spec · 5fbc23e8
      Jakob Holderbaum 提交于
      By printing this newline, the filepath of the failing assertion does not get
      preceded by the dot which represents a running test.
      
      This gives the advantage, that the complete output of unity can be used as it is
      with a makefile in vim. Every error gets displayed in the quickfix and you can
      jump appropiately.
      5fbc23e8
  24. 23 9月, 2013 1 次提交
  25. 22 9月, 2013 1 次提交
  26. 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
  27. 28 6月, 2013 1 次提交
    • A
      Fix TEST_ASSERT_EQUAL_INT_ARRAY for int sizes other than 32 bits · 07736afe
      Antony Male 提交于
      This patch fixes testEqualIntArrays in the unity test suite on 16-bit
      architectures.
      
      TEST_ASSERT_EQUAL_INT_ARRAY calls UnityAssertEqualIntArray with 'style'
      set to UNITY_DISPLAY_STYLE_INT.
      
      UNITY_DISPLAY_STYLE_INT is defined as UNITY_DISPLAY_STYLE_AUTO +
      UNITY_DISPLAY_STYLE_INT{16,32,64} (depending on the int width).
      
      However, the switch statement in UnityAssertEqualIntArray has special
      cases for the width-specific display styles, but these comparisons
      are carried out without clearing the UNITY_DISPLAY_STYLE_AUTO flag.
      This means that if 'style' is UNITY_DISPLAY_STYLE_INT, and the int
      width is, say, 16, bits, the default case will be hit, and elements
      compared as if they were 32 bits wide. Unsurprisingly this causes
      a failure in the test named above.
      07736afe
  28. 06 2月, 2013 1 次提交
  29. 05 2月, 2013 1 次提交
  30. 27 11月, 2012 1 次提交
  31. 21 11月, 2012 1 次提交
  32. 31 10月, 2012 3 次提交