Commit Graph

  • a6e9f85f71 Added examples for the configuration of UnityPrintFormatted and exclusion of <stddef.h> Fabian Zahn 2019-01-25 07:00:32 +01:00
  • 69cebb5c30
    Merge pull request #385 from bluca/c90 Mark VanderVoord 2019-01-24 16:48:07 -05:00
  • 5074a3d8b2 Make unity.c compatible with c90 Luca Boccassi 2019-01-24 21:44:34 +00:00
  • 92a345b264 Added documentation and changed all the code examples to backtick (code) blocks. Fabian Zahn 2019-01-24 20:12:16 +01:00
  • 4f8656f658 Added some documentation for the helper function. Fabian Zahn 2019-01-24 19:21:08 +01:00
  • 95ccc6edc1 Changed the compiler switch behaviour for printf (default: disabled). Macro UNITY_EXCLUDE_PRINT_FORMATTED changed to UNITY_INCLUDE_PRINT_FORMATTED. Enable printf via "-DUNITY_INCLUDE_PRINT_FORMATTED" compiler option. Fabian Zahn 2019-01-24 18:42:51 +01:00
  • 5918ee0cdf Merge branch 'master' into feature-printf Fabian Zahn 2019-01-24 18:32:07 +01:00
  • a284984365
    Merge pull request #382 from dpostorivo/ifndef-64-runner Mark VanderVoord 2018-12-21 23:12:59 -05:00
  • 516f7be045 generate runner defines with #ifndef guards Dom Postorivo 2018-06-13 23:44:58 -04:00
  • 38d8263741
    Merge pull request #380 from elliot-gawthrop/test-case-string Mark VanderVoord 2018-12-11 06:56:47 -05:00
  • 5db2a3dbd9 Add support for strings in TEST_CASE() Elliot Gawthrop 2018-12-09 21:21:46 +00:00
  • f433480f7f
    Merge pull request #299 from jlindgren90/float-printing Mark VanderVoord 2018-11-28 15:27:37 -05:00
  • 8e0f54d23b
    Merge pull request #375 from jlindgren90/int-min-printing Mark VanderVoord 2018-11-28 15:23:03 -05:00
  • d09f4953ff Fix another signed integer overflow. John Lindgren 2018-11-28 15:17:25 -05:00
  • 8a77f48634 Fix undefined behavior when printing INT_MIN/INT64_MIN. John Lindgren 2018-11-28 14:40:40 -05:00
  • 39fbd13cae Merge branch 'master' into float-printing John Lindgren 2018-11-28 14:02:41 -05:00
  • 58be52f088
    Merge pull request #374 from jlindgren90/rubocop Mark VanderVoord 2018-11-28 13:42:51 -05:00
  • 5cd1c33b0e Fix uninitialized constant John Lindgren 2018-11-28 13:36:27 -05:00
  • 6b657c6f17 Fix (most) Rubocop warnings. John Lindgren 2018-11-28 13:27:00 -05:00
  • 28bf7954f2
    Merge pull request #364 from farrrb/fix-issue-360 Mark VanderVoord 2018-11-14 06:17:38 -05:00
  • e8ba63cf7b
    Merge pull request #370 from danyeaw/license-location Mark VanderVoord 2018-11-14 06:09:10 -05:00
  • 100c73d37f
    Move license for GitHub detection Dan Yeaw 2018-11-13 21:07:05 -05:00
  • eab9283a98
    Merge pull request #353 from kykrueger/issue-#352-uninitialized-value-warning Mark VanderVoord 2018-11-07 09:22:46 -05:00
  • 7dd21c333e Fix unintended array overrun in example (#360. Thanks @quantum-leaps) Mark VanderVoord 2018-11-02 07:42:47 -04:00
  • 695dd04d53
    Merge pull request #365 from Kochise/patch-2 Mark VanderVoord 2018-10-31 07:13:30 -04:00
  • 27f631aaa8
    Merge pull request #366 from Kochise/patch-1 Mark VanderVoord 2018-10-31 06:48:32 -04:00
  • 50ce8a880a
    Some cleanup Kochise 2018-10-31 11:41:44 +01:00
  • 96127581a0
    Some cleanup Kochise 2018-10-31 11:30:13 +01:00
  • be765649f1
    Some cleanup Kochise 2018-10-31 11:24:37 +01:00
  • f1100dd19a Added support for %b (bits / binary), %f (float) and %g (double). Fabian Zahn 2018-10-27 18:21:01 +02:00
  • b4ab81bbe9 Added first working implementation. Fabian Zahn 2018-10-27 16:00:52 +02:00
  • e84cb29acc Fixed an "array index out of bounds violation" in the examples (regarding issue #360). Fabian Zahn 2018-10-27 11:24:29 +02:00
  • 7d2bf62b7e
    Merge pull request #363 from Deltrix/patch-1 Mark VanderVoord 2018-10-22 10:42:30 -04:00
  • 01cbce870a
    Changed some text issues Filip Michalak 2018-10-22 15:32:22 +02:00
  • e4dfeaa14d
    Merge pull request #362 from meslem12/patch-1 Mark VanderVoord 2018-10-18 22:58:40 -04:00
  • 7cc3cf478b
    fixed compile error UNITY_PRINT_EXEC_TIME() Levin Messing 2018-10-18 23:55:38 +02:00
  • e025b8cd1d
    Merge pull request #359 from farrrb/fix-include-stddef Mark VanderVoord 2018-10-14 16:24:19 -04:00
  • e2e549a22f Added include of 'stddef.h' to 'unity_internals.h' if 'UNITY_EXCLUDE_STDDEF_H' is not defined. This adds compiler independent support for the 'NULL' macro. Fabian Zahn 2018-10-14 14:08:09 +02:00
  • e0d52d1a79 fix uninitialzed value warning Kyle Krueger 2018-09-12 17:46:11 +02:00
  • 56f1646087 add missing trailing slash Kyle Krueger 2018-09-10 15:19:15 +02:00
  • 8ba35a0e52 Revert "remove change that slipped in from other project" Kyle Krueger 2018-09-10 11:26:13 +02:00
  • 5d2ef07054 remove change that slipped in from other project Kyle Krueger 2018-09-10 11:21:41 +02:00
  • c64cc7d4f4 fix new references Kyle Krueger 2018-09-10 10:51:14 +02:00
  • f60ab920c9 switch hardcoded string to reference existing value Kyle Krueger 2018-09-10 10:38:55 +02:00
  • ea5e51ffcc move some details from main readme to docs, and link to getting started Kyle Krueger 2018-09-07 14:46:20 +02:00
  • 020a531e4b add link to test_runner file Kyle Krueger 2018-09-07 14:33:51 +02:00
  • bfd7828e66
    Merge pull request #1 from ThrowTheSwitch/master Kyle Krueger 2018-09-07 14:10:47 +02:00
  • 9987824da7 Added support to inject "extern C" into runners when generated. Mark VanderVoord 2018-08-09 08:48:08 -04:00
  • 031f3bbe45
    Merge pull request #340 from elliot-gawthrop/unit-test-execution-time Mark VanderVoord 2018-08-08 08:24:46 -04:00
  • a6a35b78ae
    Merge pull request #341 from Deryew/master Mark VanderVoord 2018-08-08 07:05:47 -04:00
  • e72dfafd44 Fixed some grammar errors on docs Deryew 2018-07-30 10:53:02 +08:00
  • fb4b139043 Fixed UNITY_EXEC_TIME_STOP macro ifdef elliot 2018-07-28 20:14:00 +01:00
  • f0e4571c96 Merge branch 'master' into unit-test-execution-time elliot 2018-07-28 20:01:50 +01:00
  • ccb7faf3bd
    Merge pull request #338 from rstahn/bugfix-less-or-equal Mark VanderVoord 2018-07-26 16:18:32 -04:00
  • 18e4fbe2ae
    Merge pull request #335 from rstahn/patch-1 Mark VanderVoord 2018-07-26 09:12:11 -04:00
  • 6a1d2e8d44
    Fix LESS_OR_EQUAL_MESSAGE asserts for HEX32/HEX64 Roland Stahn 2018-07-25 22:57:44 +02:00
  • ac3cde30f5
    Added notes on _MESSAGE assertions (#331) Roland Stahn 2018-07-21 16:57:53 +02:00
  • 1f6c782040
    Merge pull request #334 from Xenoamor/master Mark VanderVoord 2018-07-18 11:54:03 -04:00
  • 2c5d09bf20 Flush unity output before a potential longjmp Xenoamor 2018-07-18 16:05:10 +01:00
  • 40af5e23eb Update travis to specify valid version of rubocop Mark VanderVoord 2018-07-18 11:20:29 -04:00
  • 199b13c099
    Merge pull request #332 from trond-snekvik/mock_suffix_support Mark VanderVoord 2018-06-07 06:49:28 -04:00
  • ceecf1fae8 Add support for :mock_suffix Trond Einar Snekvik 2018-06-07 10:06:39 +02:00
  • d915bf7ae5
    Merge pull request #324 from farrrb/origin/fix-UNITY_OUTPUT_FLUSH Mark VanderVoord 2018-05-03 07:32:17 -04:00
  • e2ee98e3d6
    Merge pull request #325 from farrrb/fix-parse.rb Mark VanderVoord 2018-05-03 07:25:16 -04:00
  • 38e1ee872c Added some useful documentation which states the output formats that are parseable by this script. Fabian Zahn 2018-02-27 07:23:18 +01:00
  • 1994bf9d68 Fixed unity fixture output and added methods for each of the different outputs. Added documentation. Fixed some whitespaces. Refactored class_name to class_name_idx (expressiveness). Refactored the xml output to methods (extensibility). Fabian Zahn 2018-02-26 22:13:29 +01:00
  • 7a43766586 - Fixed whitespaces and formatting - Added more expressiveness to the code - Fixed some of the rubocop hints Fabian Zahn 2018-02-22 21:33:11 +01:00
  • ea51e2b35c Refactored the os specific settings, it is now possible to convert both styles on every system (and even mixed) Fabian Zahn 2018-02-22 21:21:32 +01:00
  • 0937bf728c - Removed member variable @test_flag - Fixed stdout output if fixture is active - Refactored the state manipulation of @test_suite and moved it completely into test_suite_verify() Fabian Zahn 2018-02-22 19:55:40 +01:00
  • e038ae2ade Refactored the test evaluation of the flushSpy Fabian Zahn 2018-02-18 18:44:58 +01:00
  • 436a46d8ef Got the tests running Fabian Zahn 2018-02-18 17:43:08 +01:00
  • 2480a6124e Added unit test for the call to flush Fabian Zahn 2018-02-18 17:08:49 +01:00
  • 5f67ac6ab2 Fixed copy and paste error, changed the signature from: void flushSpy(int c) {} to: void flushSpy(void) {} Fabian Zahn 2018-02-18 16:32:04 +01:00
  • 37271e8a13 Fixed copy and paste error Fabian Zahn 2018-02-18 14:53:39 +01:00
  • 25804f3ab4 Added flushSpy and the respective helper functions Fabian Zahn 2018-02-18 14:46:42 +01:00
  • 456759296b Added flushSpy Fabian Zahn 2018-02-18 14:23:26 +01:00
  • fe950b9fa3 Makefile preparations Fabian Zahn 2018-02-18 14:11:19 +01:00
  • 8efa8ffc62 Removed UNITY_OMIT_OUTPUT_FLUSH_HEADER_DECLARATION to simplify the behaviour Fabian Zahn 2018-02-18 13:57:34 +01:00
  • d9cd6988f3
    Merge pull request #319 from farrrb/master Mark VanderVoord 2018-02-15 07:49:20 -05:00
  • 4dfb512a27 Added ".to_s" to the test suite name (explicit type conversion) Fabian Zahn 2018-02-12 06:44:26 +01:00
  • 7a1157d6f6
    Merge pull request #322 from jeremyhannon/misra19.10_v2 Mark VanderVoord 2018-02-11 08:25:13 -05:00
  • dc9c7a7b4b Removed leading whitespace Fabian Zahn 2018-02-11 13:02:26 +01:00
  • 9bada282f4
    MISRA 19.10: parentheses around macro params Jeremy Hannon 2018-02-10 14:27:03 -06:00
  • a6b925a01f
    Merge pull request #321 from jeremyhannon/misra19.10 Mark VanderVoord 2018-02-10 14:22:58 -05:00
  • 91a2353526
    MISRA 16.4: param names match func decl & defn Jeremy Hannon 2018-02-10 13:15:34 -06:00
  • 0760230829 Some minor changes - String split now works correctly for windows and unix (cross platform) - Removed unnecessary whitespaces in the xml output (beautifies the output) - Added support for TEST_IGNORE() (without message) Fabian Zahn 2018-01-29 21:00:46 +01:00
  • b4aca70fd9
    Update UnityGettingStartedGuide.md Mark VanderVoord 2017-12-06 10:08:56 -05:00
  • 62f6cb247a
    Merge pull request #312 from shreyasbharath/master_fix_integer_underflow Mark VanderVoord 2017-11-27 06:50:49 -05:00
  • 4325773e76 Fix unsigned integer underflow in UnityAssertEqualIntArray Shreyas Balakrishna 2017-11-23 14:58:45 +13:00
  • 29803b65ac
    Merge pull request #310 from flowher/setjmp_optional Mark VanderVoord 2017-11-20 06:31:34 -05:00
  • 53f0f95ef8 Test runner generation: Wrap setjmp.h inclusion in ifdefs Krzysztof Kwiatkowski 2017-11-20 09:46:30 +00:00
  • 287e076962 Post release v2.4.3 Mark VanderVoord 2017-11-14 16:26:16 -05:00
  • a6d3f3a59a Restore round-to-even behavior. John Lindgren 2017-11-07 23:25:27 -05:00
  • 2d4e32cda1 Print 9 digits if we have double precision capability. John Lindgren 2017-11-07 22:44:59 -05:00
  • 74ba70283a Improve accuracy of UnityPrintFloat() for common cases. John Lindgren 2017-09-14 19:19:49 -04:00
  • 8ff74d6000 Allow UnityPrintFloat() to print a 7th digit. John Lindgren 2017-09-14 13:47:04 -04:00
  • 774da10e00
    Merge pull request #296 from jlindgren90/master Mark VanderVoord 2017-11-04 09:04:53 -04:00
  • 629b86d541 Merge unity_setup.h into unity.h. John Lindgren 2017-11-01 11:36:26 -04:00
  • 0914d80121
    Merge pull request #308 from codehearts/patch-1 Mark VanderVoord 2017-10-30 21:00:47 -04:00
  • 5ee55fefda
    Fix missing TEST_ASSERT_EACH_EQUAL_HEX_MESSAGE Kate Hart 2017-10-30 17:44:32 -07:00