Commit Graph

  • 533ae7a7b1
    Merge pull request #236 from jlindgren90/redundant-destroy Mark VanderVoord 2019-09-09 11:02:06 -04:00
  • 582e0f87cf Reworked naming of the new divided callback functionality to better reflect what is happening and avoid another use of the word Ignore. Mark VanderVoord 2019-09-09 11:00:09 -04:00
  • 5e9264f993
    Merge pull request #237 from jlindgren90/ignore-with-callback-2 Mark VanderVoord 2019-09-09 10:44:54 -04:00
  • 6ae662f2e8 Update documentation for clarity. Grab latest Unity Mark VanderVoord 2019-09-09 10:32:42 -04:00
  • e1f7c35f2e
    Merge pull request #241 from jlindgren90/expect-details Mark VanderVoord 2019-09-03 11:07:03 -04:00
  • b895a4575a Expect plugin should call UNITY_SET/CLR_DETAILS in pairs. John Lindgren 2019-08-30 12:14:11 -04:00
  • e17180b2ef
    Merge pull request #240 from edgarholleis/master Mark VanderVoord 2019-08-22 06:21:22 -04:00
  • 23d2341c4c Improve comment suppression to cope with '/*xxx*//*yyy*/'. Edgar J Holleis 2019-08-22 10:58:13 +02:00
  • 5f2ae0ee0f Update documentation John Lindgren 2019-07-24 13:55:04 -04:00
  • c70cec0b19 Add CheckWithCallback and IgnoreWithCallback. John Lindgren 2019-07-24 13:36:41 -04:00
  • fbb0828ee0 callback's mock_destroy() is redundant. John Lindgren 2019-07-24 11:43:44 -04:00
  • f8281e456d callback's mock_destroy() is redundant. John Lindgren 2019-07-24 11:43:44 -04:00
  • 8b4deef12b Call UNITY_CLR_DETAILS() before returning from mock John Lindgren 2019-07-23 17:41:28 -04:00
  • 9e5afe4255 Refactor callback generator a bit (no functional change) John Lindgren 2019-07-23 17:14:33 -04:00
  • 4df532afcc Add quick pointer check before memory comparisons (#224) Mark VanderVoord 2019-07-09 23:16:02 -04:00
  • 12c74c0349 Keep function pointers from choking CMock (fixes issues #102, #222, #226) Mark VanderVoord 2019-07-09 22:23:40 -04:00
  • 4c6fe35bbf Clean up full header list. (Why didn't this get caught in my local tests?) Mark VanderVoord 2019-07-09 11:14:10 -04:00
  • 4ab728b6d3 Whoops Mark VanderVoord 2019-07-09 10:57:31 -04:00
  • 7761b3fb3f automatically pull in unity helper into tests when specified in both example and cmock's includes. Mark VanderVoord 2019-07-09 10:50:29 -04:00
  • 0b6118e410
    Merge pull request #186 from jlindgren90/master Mark VanderVoord 2019-07-07 15:12:07 -04:00
  • d5dffde17d
    Merge pull request #187 from jlindgren90/array-typedefs Mark VanderVoord 2019-07-07 15:10:18 -04:00
  • 347dfc181a
    Merge branch 'master' into array-typedefs Mark VanderVoord 2019-07-07 15:06:49 -04:00
  • 4a6ee8680c
    Merge pull request #190 from achsfy/master Mark VanderVoord 2019-07-07 14:51:21 -04:00
  • f909378a1d Clean up example makefile to properly support externally supported paths. (This is a tiny fix to PR 193) Mark VanderVoord 2019-07-07 14:43:20 -04:00
  • 035141e2ab - Added capacity accessor for easier testing - Made test size-agnostic for easier boundary checking. Mark VanderVoord 2019-07-07 14:15:35 -04:00
  • 5eab75a078 Reimplement PR 227 with fixed tests. Mark VanderVoord 2019-07-06 12:11:56 -04:00
  • 99c2223a1d Back out broken changes. (See issue #210. Thanks @HamboLagos) Mark VanderVoord 2019-07-03 11:09:06 -04:00
  • 4b35cb2e43
    Merge pull request #198 from Xenoamor/master Mark VanderVoord 2019-03-22 05:47:44 -04:00
  • e417f323fc
    Merge pull request #211 from merazmus/fix_missing_header Mark VanderVoord 2019-03-22 05:41:23 -04:00
  • af59c531f7
    Update unit tests merazmus 2019-03-22 09:11:58 +01:00
  • a5616dc2df
    Fix missing framework header in mock header files merazmus 2019-03-22 09:10:16 +01:00
  • 5716454e11 Merge branch 'master' of https://github.com/Xenoamor/CMock Joshua Booth 2019-03-21 19:08:45 +00:00
  • 80454dc1f3 Fix bug where if folder mocks doesn't exist it fails Xenoamor 2019-01-28 15:53:33 +00:00
  • 2b93dfdd1d
    Merge pull request #208 from art-of-dom/travis-fix Mark VanderVoord 2019-03-20 05:56:56 -04:00
  • 727a5cc8a8 adjusted travis to use ruby 2.3 to make OSX build pass Dom Postorivo 2019-03-20 00:00:41 -04:00
  • c243b9a7a7
    Merge pull request #203 from bmcdonnell/grammar Mark VanderVoord 2019-03-01 22:27:53 -05:00
  • b409ba6a1d Grammar fix--"fewer times", not "less times" Brendan McDonnell 2019-03-01 21:52:12 -05:00
  • b2adf60b2f
    Fix bug where if folder mocks doesn't exist it fails Xenoamor 2019-01-28 15:53:33 +00:00
  • cfa46d6440 Prevent undefined behavior due to typedef array usage. John Lindgren 2018-12-04 18:17:17 -05:00
  • 789c5852b5 Add treat_as_array configuration option. John Lindgren 2018-08-29 16:15:27 -04:00
  • 99fa519136
    Merge pull request #194 from danyeaw/license-detection Mark VanderVoord 2018-11-13 21:13:58 -05:00
  • 0706e8b355
    Move license for GitHub detection Dan Yeaw 2018-11-13 21:11:15 -05:00
  • 8d16dca722 Update cmock_header_parser_test.rb tests to include new configuration items array_size_type and array_size_name Aurelien CHAPPUIS 2018-09-18 15:06:10 +02:00
  • e8c7ad9706 Try to find 'array pair' in parameters following this pattern : <type> * <name>, <@array_size_type> <@array_size_name> When such a pattern is used, the second parameter is used as the array size in _Expect method. Aurelien CHAPPUIS 2018-09-18 12:06:40 +02:00
  • 63527a3217 mock_Verify functions should ideally not modify the state of the mock. John Lindgren 2018-08-28 14:51:41 -04:00
  • 7cc41ddfdd
    Merge pull request #172 from Vicentra/Issue66 Mark VanderVoord 2018-08-08 13:37:03 -04:00
  • 407c2ef3b9 Grab latest unity to test as next release candidate Mark VanderVoord 2018-08-08 13:21:00 -04:00
  • 5edf07e87c Update travis to use a proper gem version for rubocop Mark VanderVoord 2018-07-18 10:40:48 -04:00
  • 7c6552bb2f
    Merge pull request #179 from Xenoamor/master Mark VanderVoord 2018-07-18 09:15:17 -04:00
  • ab339721ae
    Add "cd test" to README.md for running rake Xenoamor 2018-07-18 14:05:55 +01:00
  • 732556700d Fix alignment error of CMock_Guts_Buffer Matthijs Zeeman 2018-06-21 11:33:13 +02:00
  • c3a95e93be
    Merge pull request #155 from paulsc/master Mark VanderVoord 2017-12-07 06:41:23 -05:00
  • 49bc3ebcce fix for mock prefix & suffix filter Paul 2017-12-07 09:08:29 +01:00
  • cb1ad78b97 Update to latest Unity and Post as release v2.4.6 Mark VanderVoord 2017-11-14 16:31:44 -05:00
  • 2b4f9b43c7
    Merge pull request #148 from jlindgren90/master Mark VanderVoord 2017-11-01 08:26:00 -04:00
  • 2a2f19dfae
    Merge pull request #153 from phonetagger/master Mark VanderVoord 2017-11-01 06:43:43 -04:00
  • e42996ea67 Let's simplify this testing situation a bit. Mark VanderVoord 2017-10-31 21:49:04 -04:00
  • b9da6d6def Do not change CMock_Guts_Buffer or CMock_Guts_BufferSize unless realloc() was successful. Prior to this change, if realloc() failed, the current test would fail for out-of-memory, but subsequent tests would continue trying to run with CMock_Guts_Buffer at address 0x00000000 and thinking that the buffer size was sufficient. Therefore depending on the system and how it handles (or doesn't handle) null pointer dereferencing, subsequent tests might pass, fail in strange ways, or crash the test app. Minich 2017-10-31 12:03:31 -04:00
  • 0fc09121d7 Merge pull request #152 from metc/bugfix/doc Mark VanderVoord 2017-10-06 12:53:34 -04:00
  • 4df347bf17 Fixed 404 link in documentation. Christopher Métrailler 2017-10-06 18:35:24 +02:00
  • e765181c8d Remove trailing slashes. Christopher Métrailler 2017-10-06 18:30:49 +02:00
  • 6d1c0f97f5 Fix Minitest deprecation warnings. John Lindgren 2017-09-13 10:37:19 -04:00
  • 488c469cdf Fix Ruby warnings (mostly unused variables). John Lindgren 2017-09-13 10:24:45 -04:00
  • 3df5c035e6 Merge pull request #149 from SteinHeselmans/master Mark VanderVoord 2017-09-14 06:50:11 -04:00
  • 1f87c158da Adapt test cases to new header/footer Stein Heselmans 2017-09-14 10:43:43 +02:00
  • 76b6231f77 Merge remote-tracking branch 'origin/master' into issue-147 Stein Heselmans 2017-09-14 08:14:58 +02:00
  • ca05fe4285 Fix #147: Push and Pop pragmas not supported by older GCC Stein Heselmans 2017-09-14 08:13:17 +02:00
  • 37fcb8535a Merge pull request #146 from jlindgren90/master Mark VanderVoord 2017-09-13 06:53:02 -04:00
  • 526668961a Add an additional test for handling of pointer arguments. John Lindgren 2017-09-12 17:24:35 -04:00
  • 3b123fb533 Don't assume that pointer-to-constant types have "const" removed. John Lindgren 2017-09-12 15:54:47 -04:00
  • c725e4ddc6 Handle pointer-to-constant types more consistently. John Lindgren 2017-09-12 12:50:09 -04:00
  • 6e03886f25 Prepare to publish latest version v2.4.5 Mark VanderVoord 2017-09-11 15:51:44 -04:00
  • 50adf82ed4 Merge pull request #144 from jlindgren90/master Mark VanderVoord 2017-09-11 15:05:13 -04:00
  • f2ea4284a6 Merge pull request #145 from SteinHeselmans/master Mark VanderVoord 2017-09-11 15:04:00 -04:00
  • fb96bb3033 Try to fix CI Stein Heselmans 2017-09-11 19:45:42 +02:00
  • 9a44444f8b Revert "Fix path issue in create makefile" Stein Heselmans 2017-09-11 14:46:45 +02:00
  • 725641409b Fix path issue in create makefile Stein Heselmans 2017-09-11 14:25:14 +02:00
  • c4cd7d54a9 create_makefile : add support for suffix Stein Heselmans 2017-09-11 14:24:40 +02:00
  • aed11e6d0d Add tests to prove that ignore and expects interoperate quite well. Mark VanderVoord 2017-09-08 17:01:56 -04:00
  • 51b327042f Merge in latest Unity Mark VanderVoord 2017-09-08 15:49:59 -04:00
  • ef04f4ab7f Fix recent const changes to account for special (char*) handling. John Lindgren 2017-09-08 15:20:57 -04:00
  • 27c5a9cff5 Merge remote-tracking branch 'phonetagger/improve-const-ptr-handling' John Lindgren 2017-09-08 15:20:34 -04:00
  • 43fa31380d - Renamed :strict_mock_calling option to :fail_on_unexpected_calls for clarity. Mark VanderVoord 2017-09-08 14:54:55 -04:00
  • 413c803543 Merge pull request #120 from shreyasbharath/fix-multi-threading-bug Mark VanderVoord 2017-09-08 13:12:55 -04:00
  • ee45a7b1e7 Merge pull request #123 from skelliam/fixoutput Mark VanderVoord 2017-09-08 13:08:27 -04:00
  • 699563e503 Merge pull request #140 from jlindgren90/master Mark VanderVoord 2017-09-08 13:05:31 -04:00
  • 454fcfb7a3 Merge pull request #141 from jlindgren90/fix-const-parsing Mark VanderVoord 2017-09-08 13:03:27 -04:00
  • 4b441eafea Merge pull request #143 from laurensmiers/master Mark VanderVoord 2017-09-08 09:25:12 -04:00
  • a04e3f160c Expand docs with 'strict_mock_calling' option laurensmiers 2017-09-07 12:26:20 +02:00
  • df7c67c445 Fix 'should' text laurensmiers 2017-09-06 14:39:28 +02:00
  • 9c9f08c48b Add 'strict_mock_calling' option - By default set to true to maintain the default behaviour of CMock - When mocked function is called and no Except/Ignor called, test will fail - When set to false: - if test calls mocked function, and user did not specify Except/Ignore/... test will not fail because of this, all calls to mocked functions are ignored laurensmiers 2017-09-06 00:28:37 +02:00
  • 55462aef40 Fix parsing of declarations like "int const* doStuff(void)". John Lindgren 2017-09-01 12:30:11 -04:00
  • 42dab4836d Fix handling of string arguments. John Lindgren 2017-08-31 17:44:08 -04:00
  • 693c658780 Fix const determination for pointer-to-pointer types. John Lindgren 2017-08-31 16:25:11 -04:00
  • 7eb7e14fbc Remove trailing whitespace. John Lindgren 2017-08-30 16:03:45 -04:00
  • 846423768b Fix whitespace checking in tests. John Lindgren 2017-08-30 16:01:11 -04:00
  • 9e69cfb9b1 Remove an extra newline. John Lindgren 2017-08-30 15:50:20 -04:00
  • 53d6a7c0e4 Remove a commented-out function (it confuses yard otherwise). John Lindgren 2017-08-30 15:49:14 -04:00
  • a604fb71a4 Remove dead code (unity_msg is not used since 647876644b46). John Lindgren 2017-08-30 10:28:53 -04:00
  • 46f609efee Merge pull request #139 from snke/master Mark VanderVoord 2017-08-23 06:39:54 -04:00