Commit Graph

  • cf0e55b6e4 Fix system test compile error laurensmiers 2020-01-09 22:00:41 +01:00
  • cfe1b4ef3d Handle user defined inline macro's laurensmiers 2020-01-09 21:51:04 +01:00
  • 3254aef5e5 Handle headers which only have inline-function-declarations laurens 2020-01-08 19:25:37 +01:00
  • 7a5d712d79 Expand inline function declaration test laurens 2020-01-08 19:24:25 +01:00
  • 550e141c59 Handle inline function declarations when mocking inline functions laurens 2020-01-08 19:17:19 +01:00
  • 972814622f Some more debug info laurens 2019-11-16 08:30:20 +01:00
  • c7f24da4f7 Some debug info during inline function parsing laurens 2019-11-14 12:21:01 +01:00
  • f291ed217c Trying to reproduce bug pull request laurens 2019-11-14 12:20:47 +01:00
  • bd5fbc30eb
    Merge pull request #271 from jvcdk/maintenance/update-submodules Mark VanderVoord 2019-12-06 06:10:36 -05:00
  • 81345af180 Update submodule unity to current master. Jørn Villesen Christensen 2019-12-06 10:15:09 +01:00
  • 649005a917 Verify multiline functions are being parsed properly. mvandervoord 2019-12-05 09:15:47 -05:00
  • 1e6634ca93
    Merge pull request #270 from michaelbadcrumble/meson_support Mark VanderVoord 2019-12-04 06:03:07 -05:00
  • ddf9030b9a Keep Meson support back to version 0.50.0 Michael Brockus 2019-12-03 22:49:15 -08:00
  • 532ddd2c3d Update root meson.build Michael Brockus 2019-12-03 22:45:39 -08:00
  • 7035578605 Grab the latest vendor tools mvandervoord 2019-12-03 18:48:28 -05:00
  • 91d5e578d8 Add support for function pointers using the shorthand notation mvandervoord 2019-11-18 09:09:42 -05:00
  • 2afdebd228
    Merge pull request #268 from jlindgren90/master Mark VanderVoord 2019-11-17 13:18:03 -05:00
  • 615b3874b8 Allow arbitrary parentheses within length of array arguments. John Lindgren 2019-11-15 16:53:23 -05:00
  • a6ec9f968a
    Merge pull request #267 from jlindgren90/master Mark VanderVoord 2019-11-15 13:11:19 -05:00
  • 03ddcb9bad Revert "Add quick pointer check before memory comparisons (#224)" John Lindgren 2019-11-15 12:46:28 -05:00
  • 7dcb78c629
    Merge pull request #265 from laurensmiers/master Mark VanderVoord 2019-11-15 11:56:32 -05:00
  • c0162e1ea6 Remove double unit test for inline_function_patterns laurens 2019-11-15 16:25:23 +01:00
  • 02cf882d36 Update documentation of :inline_function_patterns laurens 2019-11-15 09:34:50 +01:00
  • cb55b73522 Simplify inline function removal during source/function parsing laurens 2019-11-14 13:38:10 +01:00
  • 0f6e4604ff Remove inline specific keywords before starting function parsing laurens 2019-11-14 13:37:57 +01:00
  • 31244992db Add test for including mocks for user defined inline functions laurens 2019-11-14 13:12:42 +01:00
  • 56bad95cf7 Make test default inline_function_patterns the default value laurens 2019-11-14 13:06:33 +01:00
  • d5a8fcb6a2 Add documentation on configuring build system for :treat_includes laurens 2019-11-13 16:21:49 +01:00
  • 27002370dd Add documentation for :inline_function_patterns laurens 2019-11-13 13:24:05 +01:00
  • 9bc3f25281 Remove internal regex for inline functions and make them fully user-defined laurens 2019-11-13 12:58:43 +01:00
  • 8a7c45c20b Take into account user-provided inline function patterns laurens 2019-11-13 12:44:40 +01:00
  • 73fa7a6bb2 Add unit test for inline_function_patterns (failing now) laurens 2019-11-13 12:18:41 +01:00
  • 21e37780fa Add :inline_function_patterns configuration option laurens 2019-11-13 12:08:52 +01:00
  • 543c230f33 bump version v2.5.1 branch_2_5_1 mvandervoord 2019-11-12 18:27:33 -05:00
  • 968d3f6ec4
    Merge pull request #263 from laurensmiers/master Mark VanderVoord 2019-11-12 18:26:32 -05:00
  • 0c45d26a28 Rename total_levels to total_pairs laurens 2019-11-13 00:03:52 +01:00
  • 811b85e1b1 Use <counter>.times iso until <condition> laurens 2019-11-13 00:03:30 +01:00
  • 759d1826c8 Add test with no braces in source laurens 2019-11-12 20:28:08 +01:00
  • 60a1829acf Fix comments laurens 2019-11-12 20:03:52 +01:00
  • 8ba3ed99a1 Extract count_number_of_pairs_of_braces_in_function method laurens 2019-11-12 19:58:25 +01:00
  • 0af0e20d15 Refactor transform_inline_functions laurens 2019-11-12 15:12:49 +01:00
  • 2def6c4f21 Fix compile warnings on inline.h test header laurens 2019-11-12 12:10:27 +01:00
  • d403eb88c8
    Merge pull request #258 from jlindgren90/master Mark VanderVoord 2019-11-11 08:38:14 -05:00
  • 18b2deca85
    Merge pull request #261 from laurensmiers/master Mark VanderVoord 2019-11-11 08:36:21 -05:00
  • bd91eb4cca Refactor calling of transform_inline_functions laurens 2019-11-11 14:26:29 +01:00
  • fe829f2d8a Expand transform_inline_functions unit test with more usecases laurens 2019-11-11 13:26:40 +01:00
  • 5650b79dcd Replace NOP with actual operations to test inline.h compilation laurens 2019-11-11 13:22:00 +01:00
  • 9908930bc5 Fix multi-line each + use gsub! iso gsub laurens 2019-11-11 13:14:18 +01:00
  • b256013c5e Only normalize source if treat_inlines is enabled laurens 2019-11-11 13:12:15 +01:00
  • 927ca1bec0 Extract method to remove_nested_pair_of_braces in cmock_header_parser laurens 2019-11-10 20:55:02 +01:00
  • e1c6851492 Rename normalize_source to transform_inline_functions laurens 2019-11-10 20:13:35 +01:00
  • e0a61d484e Add unit tests for normalize_source laurens 2019-11-10 20:11:27 +01:00
  • 431c5c678a Refactor cleanup actions when normalizing source laurens 2019-11-10 19:35:27 +01:00
  • 3a07201a3f Add treat_inlines to all_plugins_coexist test laurens 2019-11-10 18:44:20 +01:00
  • 11dfb9c668 osek.h does not need to be executable laurens 2019-11-10 18:35:52 +01:00
  • 27e89dd05e Rename treat_inline to treat_inlines laurens 2019-11-10 18:18:13 +01:00
  • 237c02dade Write converted header file (without inline) to separate file laurens 2019-11-10 17:48:43 +01:00
  • 5ee470d7e4 Convert inline functions in header-mock to 'normal' functions laurens 2019-11-10 17:34:52 +01:00
  • 79ee5b8419 Add documentation laurensmiers 2017-09-26 00:21:26 +02:00
  • fba3bc22a2 Some more tests for :treat_include: with extern + some comments laurensmiers 2017-09-26 00:15:31 +02:00
  • 01536c4a67 Better handling of inline functions with declaration in header laurensmiers 2017-09-26 00:08:52 +02:00
  • 7a32429bd2 Add handling of treat_inline - treat_externs only has effect on "extern", not "inline" anymore - when treat_inline = :include, we remove the "inline" so that the inline functions become 'normal' functions - they are handled as as usual and will be mocked - Add tests to check inline functions are not deleted when treat_inline=:include (and thus mocked) laurensmiers 2017-09-25 23:39:09 +02:00
  • dbb2f4964c Add treat_inline configuration option laurensmiers 2017-09-25 23:32:30 +02:00
  • 2817da62db Fix compile error when :unity_helper_path is relative. John Lindgren 2019-11-05 15:39:32 -05:00
  • ee3ae84e64
    Merge pull request #257 from art-of-dom/ret-var-name-change Mark VanderVoord 2019-11-04 23:21:09 -05:00
  • 0cdc742538 make ret variable more unique to prevent collision with with code under test Dom Postorivo 2019-11-03 22:02:36 -05:00
  • c1b1ff6350
    Merge pull request #255 from jlindgren90/master v2.5.0 Mark VanderVoord 2019-10-30 17:02:27 -04:00
  • 73afa2973b Add documentation for :array_size_type and :array_size_name. John Lindgren 2019-10-30 16:20:47 -04:00
  • db98427231 Verify old parsing issue is gone (see issue #195) mvandervoord 2019-10-30 14:30:18 -04:00
  • 7615806e34 Address issue #196 to better deal with passing pointer types mvandervoord 2019-10-30 14:10:59 -04:00
  • 9a0bf38c76
    Merge pull request #254 from jlindgren90/master Mark VanderVoord 2019-10-30 12:47:40 -04:00
  • 277dc34fa1 Fix typo (unity_gelper -> unity_helper). John Lindgren 2019-10-30 12:45:19 -04:00
  • 9327cd7af1
    Merge pull request #252 from jlindgren90/master Mark VanderVoord 2019-10-30 11:59:41 -04:00
  • 71b4ec2088
    Merge pull request #249 from michaelbadcrumble/meson_support Mark VanderVoord 2019-10-30 11:57:32 -04:00
  • 639d4120d1 Documentation fixes. John Lindgren 2019-10-30 11:56:43 -04:00
  • 16900b4b7f
    Merge pull request #251 from jlindgren90/master Mark VanderVoord 2019-10-30 11:54:45 -04:00
  • 14d57c2e93 Update to latest Unity mvandervoord 2019-10-30 10:34:37 -04:00
  • c787042e6d Fix off-by-one error in out-of-memory check. John Lindgren 2019-10-30 10:30:25 -04:00
  • ea71fb0e0e CMock_Guts_MemBytesUsed() should return 0 initially. John Lindgren 2019-10-30 10:22:05 -04:00
  • 74fa13f6a0 CMOCK_MEM_ALIGN should not change depending on #include order. John Lindgren 2019-10-30 10:14:30 -04:00
  • bb3e821eb2 Verify that void* is treated as a bytewise array comparison. mvandervoord 2019-10-28 07:30:51 -04:00
  • 4946aaac37 Update to latest Unity mvandervoord 2019-10-24 15:45:45 -04:00
  • cda809765e Protect again memory overruns. Get rid of warnings. mvandervoord 2019-10-23 17:12:18 -04:00
  • 8f1156dddc latest Mark VanderVoord 2019-10-23 16:38:59 -04:00
  • a210abdd12 Merge branch 'master' of https://github.com/ThrowTheSwitch/CMock Mark VanderVoord 2019-10-23 16:37:36 -04:00
  • 10e8cc27eb Add resetTest to documentation Mark VanderVoord 2019-10-23 16:36:59 -04:00
  • b2e312e434 Fixed an error. mvandervoord 2019-10-23 16:03:42 -04:00
  • 741b1067a3 ExpectAnyArgs should not be generated for functions with no arguments (#201) Mark VanderVoord 2019-10-23 15:51:22 -04:00
  • b37b3cd86b Removing mac testing from Travis because Travis is always breaking it. *sigh* mvandervoord 2019-10-23 08:15:40 -04:00
  • abec576fdb bump version of ruby run by travis Mark VanderVoord 2019-10-21 11:23:39 -04:00
  • b90706424a Switching to universal version being in the header file itself. Mark VanderVoord 2019-10-21 10:13:19 -04:00
  • 2ff29226e8
    Upgrade Meson version too 0.52.0 Michael Brockus 2019-10-12 09:22:31 -07:00
  • bc8e20e88d
    Merge pull request #246 from michaelbadcrumble/meson_support Mark VanderVoord 2019-09-26 08:50:27 -04:00
  • c5becef9fd
    Merge pull request #243 from jlindgren90/expect-any-args-cleanup Mark VanderVoord 2019-09-26 08:31:05 -04:00
  • d2c5df2f5e Adding meson.build script at root directory. Michael Brockus 2019-09-20 16:51:15 -07:00
  • 0e9f8c54bc
    Created sub meson.build in source directory. Michael Brockus 2019-09-20 16:25:04 -07:00
  • b76d570d4a Replace IgnoreMode with ExpectAnyArgsBool (no functional change). John Lindgren 2019-09-16 12:51:07 -04:00
  • c23c01266a We need function prototypes to comply with strict compiler settings Mark VanderVoord 2019-09-09 16:32:39 -04:00
  • e17728fe4d Minor tweaks to overcome Ruby style warnings. Mark VanderVoord 2019-09-09 14:46:14 -04:00
  • 37be90bd96 Add another test for function pointers which should be ignored. Mark VanderVoord 2019-09-09 11:12:27 -04:00