Mark VanderVoord
469fe271f5
Add missing type to parsing test.
2026-05-18 16:38:07 -04:00
Mark VanderVoord
a99deea71a
Refactor test reporting for better final summary.
2026-05-18 16:06:36 -04:00
Mark VanderVoord
be420840b3
make the cmock modifier files optional as 2nd argument in config
2026-05-16 23:40:08 -04:00
Mark VanderVoord
d83c7017e0
Refactor cmock tests to identify the closest matching cmock overlay
2026-05-16 23:02:07 -04:00
Mark VanderVoord
5c6f42ae45
Tiny tweaks to prepare for next phase
2026-05-16 22:48:24 -04:00
Mark VanderVoord
f7c3f73b21
Tweak naming to fall-through to the correct target
2026-05-16 14:48:47 -04:00
Mark VanderVoord
f7689b8cc3
continue (update the styling of the targets)
2026-05-16 14:36:36 -04:00
Mark VanderVoord
feda84f23b
continuing
2026-05-15 23:53:09 -04:00
Mark VanderVoord
7d99f0f51d
Start refactoring targets to use those coming from unity. so far we are refactoring to pull project-specific config
2026-05-15 23:31:56 -04:00
Mark VanderVoord
f368744ca5
Updates for the new year
2026-01-23 11:19:02 -05:00
Mark VanderVoord
75c3f3c7b3
minor tweaks
2025-07-09 17:02:21 -04:00
Mark VanderVoord
2671ad7046
Merge pull request #504 from bal-stan/patch-1
...
Fix compiler error when compiling with `-Wcast-qual` and mocking const function arguments
2025-07-09 16:25:28 -04:00
Mark VanderVoord
bf9a13a8d4
Merge pull request #508 from rstahn/rstahn-patch-1
...
Add option 'create_error_stubs' (default is 'true')
2025-07-09 13:23:10 -04:00
ml-physec
2bb9086214
Unset argument detail before calling callback
2025-07-04 16:32:37 +02:00
Roland Stahn
6f2a234dca
Add tests with 'create_error_stubs' set to false
2025-06-13 11:35:32 +02:00
Roland Stahn
338279285b
Delete test/unit/cmock_generator_plugin_expect_c_test.rb
2025-06-13 11:32:27 +02:00
Roland Stahn
16ec975a87
Add first testcase with 'create_error_stubs' set to false
...
Change-Id: I33728023c1397e2bdbe62304638f578482ec8f58
2025-06-12 14:15:21 +02:00
Roland Stahn
bd41b3f939
Add option create_error_stubs to testcase
2025-06-03 13:26:34 +02:00
Roland Stahn
d20dca34ab
Add option 'create_error_stubs' in before
2025-06-03 13:14:23 +02:00
bal-stan
076df6dd5c
Fix compiler error when compiling with -Wcast-qual and mocking const function arguments
2025-04-01 16:24:48 +00:00
bal-stan
2bcc723e10
Always cast memcpy dest pointers to const void
2025-02-13 18:06:27 +00:00
Mark VanderVoord
a60383ec34
Update licenses to new standards... plus New Years bump
2025-01-01 12:05:55 -05:00
Mark VanderVoord
9cc8fb5302
Let's enable validation of examples. failures should trip errors.
...
Also make them verbose so we can see what is going on.
2024-04-02 18:44:35 -04:00
Mark VanderVoord
ecaccb428b
🪲 remove unused AbortFrame ( #316 )
2024-03-26 22:29:06 -04:00
Mark VanderVoord
597a6d86eb
Finish giving clues when you've chosen the wrong AndReturn version.
...
ReturnArrayThruPtr (and others) now protect sizes in parenthesis #415
2024-03-21 11:35:21 -04:00
Mark VanderVoord
07a0e257b5
🪲 Added fail messages when using Expect for ExpectAndReturn or vice versa. (see issue #462 )
2024-03-14 08:59:31 -04:00
Mark VanderVoord
083bbd6a38
Add to verbosity of failures to find prototypes in headers.
2024-02-21 13:52:07 -05:00
Mark VanderVoord
c2e3c742ba
Fix test for const feature of return-thru-pointer
2023-11-22 20:05:20 -05:00
Mark VanderVoord
b032cfa09b
Merge branch 'master' into cmock_2_6_rc
2023-11-22 19:58:51 -05:00
Mark VanderVoord
9192a95089
Merge pull request #453 from NovaNekmit/NovaNekmit-patch-1
...
Make ReturnMemThruPtr pointers const
2023-11-22 19:57:55 -05:00
Mark VanderVoord
a642b1fe49
Update to latest Unity and therefore newer Rubocop standards. Tweaked scripts to match latest standards.
2023-11-22 17:40:07 -05:00
Mark VanderVoord
161d58bf54
Merge branch 'master' into cmock_2_6_rc
2023-11-13 22:33:50 -05:00
Mark VanderVoord
6cf8fb9b71
Fix to incorrect handling of static inlines.
...
Fix to Ruby deprecated interfaces.
Fix to keep up with new C standards.
2023-11-13 22:33:16 -05:00
Hannes Bachl
5328a51508
add check to prevent sizeof(void) generation
2023-08-23 11:32:58 +02:00
NovaNekmit
6d9236d4ee
Fix typos
2023-08-09 21:58:16 +02:00
NovaNekmit
9b34c01213
Update test
2023-08-09 17:12:42 +02:00
alufers
3caf511b8f
fix: Don't smush macros which have an escaped empty line at the end
...
nanopb has a habit of generating macros which end with an escaped empty line (for example for messages which are empty). They look like this:
#define some_msg_t_FIELDLIST(X, a) \
#define some_msg_t_CALLBACK NULL
This caused CMock to strip all of the newlines after the backslash instead of only one, which the backslash was escaping.
This in turn caused both the macros to be in one line, causing a compile error in the generated mock.
2023-04-26 14:16:41 +02:00
Mark VanderVoord
e4ba3be48b
newer rubies are confused about the first array argument to some functions when the array is empty... so we name the parameters when we pass them to clear things up.
2023-02-07 08:00:51 -05:00
Mark VanderVoord
bbfaf0425f
Handle yaml.load in a way that is ruby version agnostic.
2023-02-06 16:46:48 -05:00
Mark VanderVoord
a58808d424
Fixed bug #402 , getting confused with __attribute__ directives with spacing.
2023-01-11 15:43:48 -05:00
Mark VanderVoord
902b6c8b3d
Fix bug in parenthetical statements being misinterpreted as functions. (Issue #414 )
2023-01-10 15:35:54 -05:00
Mark VanderVoord
91bb49c4a8
Fix same bug as PR #354 , but as one line.
2023-01-09 14:50:56 -05:00
Mark VanderVoord
16d12416fd
Force ourselves to test with Ruby 3.
...
Fix some issues that have been lurking.
2023-01-09 14:16:30 -05:00
Yago Fontoura Do Rosario
5eebd713ba
Added extern "C" to cmock generated headers
2022-09-07 21:16:28 +02:00
Mark VanderVoord
9bb250ea4a
Update so only config is shared. Everything else about the current job is passed.
2021-02-05 15:15:14 -05:00
Mark VanderVoord
dd00b96f0d
Fix broken tests for supporting exclude_setjmp. Verify cexception won't be run when this is enabled.
2021-01-29 10:47:52 -05:00
Mark VanderVoord
38d6dccc8e
Show the correct badge for this project.
...
Fix a bug in a test.
2021-01-16 22:15:36 -05:00
Mark VanderVoord
4dd557f2df
Merge pull request #311 from andred/master
...
allow compilation with stricter warnings
2021-01-07 18:02:24 -05:00
Mark VanderVoord
e352bb8c3b
Merge pull request #340 from CezaryGapinski/fix-static-variables-for-enabled-inline-funcs-mocks
...
Fix static variables detection in headers for enabled inline function mocks
2021-01-07 17:57:36 -05:00
Mark VanderVoord
63f5e2f962
Merge pull request #341 from laurensmiers/master
...
Remove comments before start of inline-function-parsing
2021-01-07 17:57:17 -05:00