1. 22 12月, 2018 1 次提交
  2. 11 12月, 2018 1 次提交
  3. 29 11月, 2018 1 次提交
  4. 09 8月, 2018 1 次提交
  5. 07 6月, 2018 1 次提交
    • T
      Add support for :mock_suffix · ceecf1fa
      Trond Einar Snekvik 提交于
      Adds support for :mock_suffix when generating mock setup and teardown
      functions. Also documents both prefix and suffix in the helper script
      guide.
      ceecf1fa
  6. 20 11月, 2017 1 次提交
  7. 01 11月, 2017 1 次提交
  8. 09 10月, 2017 2 次提交
    • J
      Make weak symbol usage more portable: · df78aade
      John Lindgren 提交于
      - Enable support for Green Hills Software compiler
      - Define weak implementations only once except on Windows
      df78aade
    • J
      Fix link errors with MinGW. · a7e8797e
      John Lindgren 提交于
      MinGW supports a limited form of weak symbols, with the restriction
      that weak/default implementations need to be defined in the same
      translation unit they are called from.  Strong/overriding symbols
      may of course be specified in a different translation unit.
      a7e8797e
  9. 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
  10. 12 9月, 2017 1 次提交
  11. 29 3月, 2017 1 次提交
  12. 28 3月, 2017 1 次提交
  13. 21 3月, 2017 3 次提交
  14. 14 3月, 2017 2 次提交
  15. 25 12月, 2016 1 次提交
  16. 10 11月, 2016 1 次提交
  17. 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
  18. 13 7月, 2016 1 次提交
  19. 09 7月, 2016 1 次提交
  20. 27 6月, 2016 1 次提交
  21. 23 6月, 2016 1 次提交
  22. 22 6月, 2016 1 次提交
  23. 15 5月, 2016 1 次提交
  24. 26 2月, 2016 1 次提交
  25. 02 2月, 2016 1 次提交
  26. 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
  27. 27 1月, 2016 1 次提交
  28. 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
  29. 08 1月, 2016 1 次提交
  30. 11 12月, 2015 1 次提交
  31. 18 8月, 2015 2 次提交
  32. 22 7月, 2015 1 次提交
  33. 21 7月, 2015 1 次提交