1. 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
  2. 08 1月, 2016 2 次提交
  3. 07 1月, 2016 5 次提交
  4. 06 1月, 2016 1 次提交
  5. 05 1月, 2016 3 次提交
  6. 29 12月, 2015 2 次提交
  7. 23 12月, 2015 1 次提交
  8. 22 12月, 2015 2 次提交
  9. 21 12月, 2015 1 次提交
    • J
      Add tests for printing numbers using a compile time replacement spy · a3d81dfa
      jsalling 提交于
       If Unity core is compiled with UNITY_OUTPUT_CHAR = putcharSpy, these tests
        will run, otherwise they are ignored and print a message
       Includes an implementation of putcharSpy, which allows checking the I/O
        from Unity during a test. Follows closely from the Fixture spy
       Tricky macros determine if putcharSpy is injected
      a3d81dfa
  10. 19 12月, 2015 1 次提交
  11. 17 12月, 2015 1 次提交
  12. 16 12月, 2015 3 次提交
  13. 15 12月, 2015 1 次提交
  14. 11 12月, 2015 4 次提交
  15. 08 12月, 2015 1 次提交
  16. 04 12月, 2015 1 次提交
  17. 24 11月, 2015 4 次提交
  18. 13 11月, 2015 2 次提交
  19. 11 11月, 2015 1 次提交
  20. 10 11月, 2015 1 次提交
  21. 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