1. 14 9月, 2017 1 次提交
    • J
      Allow suiteSetUp() and suiteTearDown() to be provided as normal C functions. · 2593c31b
      John Lindgren 提交于
      This is simpler and more flexible than embedding C code in the Ruby options
      (:suite_setup and :suite_teardown).  However, support for :suite_setup and
      :suite_teardown is kept for backwards compatibility.
      
      Several configurations are possible:
      1. :suite_setup and :suite_teardown options provided and used.
      2. :suite_setup and :suite_teardown options not provided (nil):
        2a. Weak symbols not supported; suiteSetUp() and suiteTearDown() are not called.
            It would be simpler to make user-provided functions mandatory in this case,
            but it could break some pre-existing test suites.
        2b. Weak symbols are supported and the stub implementations of suiteSetUp() and
            suiteTearDown() are called if there are no user-provided functions.
        2c. Weak symbols are supported but overridden by user-provided suiteSetUp() and
            suiteTearDown() functions.
      2593c31b
  2. 12 9月, 2017 1 次提交
  3. 29 3月, 2017 1 次提交
  4. 28 3月, 2017 1 次提交
  5. 21 3月, 2017 3 次提交
  6. 14 3月, 2017 2 次提交
  7. 25 12月, 2016 1 次提交
  8. 10 11月, 2016 1 次提交
  9. 22 9月, 2016 2 次提交
    • L
      Do not match strings across newlines · bc4da247
      L.J. Hill 提交于
      bc4da247
    • L
      Test generator: scrub strings after comments · 9caae856
      L.J. Hill 提交于
      This fixes #220.
      
      Removing strings from test files is still dangerous, but much
      less likely to cause problems after this change to do the
      removal after removing comments.
      
      The bug could still manifest if a test file contains defines two
      macros, one that contains a single quotation mark and then another
      defined somewhere after it that contains a single quotation mark.
      Everything in between the aforementioned quotation marks would
      still be ignored after this commit, but that is an unlikely
      scenario.
      9caae856
  10. 13 7月, 2016 1 次提交
  11. 09 7月, 2016 1 次提交
  12. 27 6月, 2016 1 次提交
  13. 23 6月, 2016 1 次提交
  14. 22 6月, 2016 1 次提交
  15. 15 5月, 2016 1 次提交
  16. 26 2月, 2016 1 次提交
  17. 02 2月, 2016 1 次提交
  18. 29 1月, 2016 1 次提交
    • P
      Added support for mocks in sub-directories. · 4ea563e6
      Peter Mendham 提交于
      This supports mock headers of the form:
          #include "some/dir/MockMyCode.h"
      Where the mock name is actually MockMyCode.
      
      I *think* this is the most common scenario when working with mocks
      in subdirectories but if not this could be modified to support
      alternate schemes.
      4ea563e6
  19. 27 1月, 2016 1 次提交
  20. 20 1月, 2016 2 次提交
    • P
      Improved header file generation. · 55a75ded
      Peter Mendham 提交于
      Changed the guard syntax as it was cumbersome for header files in deep
      sub-directories. Added framework/mock includes to make the header file
      stand alone. Made sure that a valid prototype was generated in the case of
      no arguments (void).
      55a75ded
    • P
      Added a command line option to change the name of main. · 2e479911
      Peter Mendham 提交于
      This allows alternative entry points. This is intended for the
      integration of the unit test into a larger system or for it to be used with
      a platform/OS which requires an application entry point other than main. At
      the moment there is no way to change the type signature.
      2e479911
  21. 08 1月, 2016 1 次提交
  22. 11 12月, 2015 1 次提交
  23. 18 8月, 2015 2 次提交
  24. 22 7月, 2015 1 次提交
  25. 21 7月, 2015 2 次提交
  26. 06 4月, 2015 1 次提交
  27. 13 3月, 2015 1 次提交
  28. 12 3月, 2015 1 次提交
  29. 06 11月, 2014 1 次提交
  30. 30 10月, 2014 1 次提交
  31. 25 10月, 2014 1 次提交
  32. 02 9月, 2014 1 次提交
  33. 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