Commit Graph

  • 3fa4de14be -fix whitespace Mark VanderVoord 2016-01-04 19:27:48 -05:00
  • f7346cd052 Merge branch 'feature/less_const' Mark VanderVoord 2016-01-04 19:14:56 -05:00
  • 9e2d5a034c Merge pull request #46 from aizvorski/master Mark VanderVoord 2016-01-04 19:13:02 -05:00
  • d1ab630308 - Added a couple more tests to our details test - Added a gitattributes file to force line endings to be correct. Mark VanderVoord 2015-12-30 16:33:33 -05:00
  • cda8d3a7e1 - push the internal function and argument names into a single each per mock to further reduce const overhead. Mark VanderVoord 2015-12-12 12:24:38 -05:00
  • f78ab04001 - Grab the latest version of Unity in order to inherit detail display for fail, null, etc. Mark VanderVoord 2015-12-10 21:49:34 -05:00
  • ffe2098a5b - Pull in nicer formatting and fixes to RUN_TEST found in Unity Mark VanderVoord 2015-12-10 18:22:17 -05:00
  • 647876644b - Centralized error strings to a few constants. - Made use of the new UNITY_SET_DETAILS feature to background set up function & argument details for messages - CMock now takes up a lot less memory! woo! Mark VanderVoord 2015-12-10 16:58:10 -05:00
  • ada6dd2d22 - Pull in latest version of Unity Mark VanderVoord 2015-12-10 13:08:12 -05:00
  • 4fcca4bab7 - Moved the "Out of Memory" string into a const to stop repeating it. - Added test for Out of Memory error - reorder the way we handle includes in CMock internals to match the way it works in Unity Mark VanderVoord 2015-12-10 11:09:26 -05:00
  • 8dc65e82bf - Temporarily ignore these errors while we figure out what to do about them properly Mark VanderVoord 2015-12-08 22:03:54 -05:00
  • b19bd500fd update to latest Unity Mark VanderVoord 2015-12-08 22:01:58 -05:00
  • ce07ce98be - Fixed error where structs and such passed by reference were getting checked for null, which isn't valid. Mark VanderVoord 2015-12-08 21:55:05 -05:00
  • 0807e45753 - Merge in latest Unity - Avoid getting casting errors of going from const char* to void* by going from char[] instead Mark VanderVoord 2015-12-08 21:31:33 -05:00
  • bb712ef168 whoops. didn't run all tests first. Mark VanderVoord 2015-08-18 13:38:36 -04:00
  • 1fdfb61891 Support void* arguments as arrays of bytes by default instead of pointers. Mark VanderVoord 2015-08-18 13:28:29 -04:00
  • f17d1a933b Stop casting unless necessary for custom types or const when returning values. Mark VanderVoord 2015-08-18 07:45:45 -04:00
  • 2cde629c05 Merge pull request #58 from ftoulemon/patch-1 Mark VanderVoord 2015-07-12 10:07:35 -04:00
  • 2b6ad4e00b Update CMock_Summary.md ftoulemon 2015-07-09 14:15:04 +02:00
  • 13029cad64 Reintroduce fix to "comparison between pointer and integer" warning accidentally reverted in fcc6a40581f22e19e8e243b372e3031383e4e451. (Thanks for noticing, Steven) Mark VanderVoord 2015-06-19 12:48:00 -04:00
  • 1f6d39dfea Merge pull request #55 from lukehsiao/patch-1 Mark VanderVoord 2015-05-08 07:52:32 -04:00
  • 92c9306976 updated README to have the correct bundle command Luke Hsiao 2015-05-07 12:41:25 -06:00
  • 6e7a0b9be7 Support dashes in command line option values John Gunnison 2015-04-24 15:51:22 -07:00
  • 964a9bf46a Applied -DTEST to compilation of test and test support files in order to apply test build-specific stuff, if needed. Greg Williams 2015-04-13 13:54:06 -04:00
  • e06b5ae61f Update README.md jon mills 2015-04-13 14:08:56 +01:00
  • 08364c9564 Merge pull request #52 from eivindt/subdir_support Mark VanderVoord 2015-04-10 20:32:55 -04:00
  • 2b89990106 Add support for subdirs (ref issue #1) Eivind Tagseth 2015-04-10 22:31:32 +02:00
  • 534a290322 Cleaned up constants. Greg Williams 2015-04-07 20:09:31 -04:00
  • 89724069fb Fixed/cleaned up require paths in make support scripts. Greg Williams 2015-04-07 19:55:05 -04:00
  • a86c281824 Added initial make build support into new scripts/ folder. Moved temp sensor example into examples/temp_sensor. Added basic make example in examples/make_example. Greg Williams 2015-04-07 13:36:46 -04:00
  • 78beb078c1 Removed regression testing in Travis CI against Ruby 1.8.7, since 1.9 is the new min version of Ruby supported. Greg Williams 2015-04-06 12:00:38 -04:00
  • cd2db9340d Updated CMock to pin to latest Unity to get changes to aid make task generation using include-based dependencies in test files. Greg Williams 2015-04-06 10:49:33 -04:00
  • ba2087c991 - add test to prove that you can use treat_as to mock a typedef alias of void, then use it as a pointer. Mark VanderVoord 2015-03-21 21:02:19 -04:00
  • 53fb943c58 Changed Dir.exist? to File.exist? for compatibility with Ruby 1.8.7 Greg Williams 2015-03-12 12:50:23 -04:00
  • d0ce610720 Updated Unity to get require/module loading fix Greg Williams 2015-03-12 12:27:34 -04:00
  • e3859b2838 Fixed issue in cmock_generator which was causing unity/auto/type_sanitizer to not be found from within Ceedling Greg Williams 2015-03-12 11:57:52 -04:00
  • 422077c929 Updated to pull in latest Unity to get type_sanitizer to commonize converting a file name to a valid C identifier for use as mock names, since was duplicated in Unity, CMock and Ceedling. Greg Williams 2015-03-12 11:05:56 -04:00
  • 90e5ae59b0 Fixed unity test suite runners to pass test suite directly to UnityBegin(name) to be compliant with newer Unity API. Greg Williams 2015-03-12 08:53:38 -04:00
  • 5efd127e08 Updated to pull in latest Unity and bumped minor version Greg Williams 2015-03-12 08:45:15 -04:00
  • 3494561c6c Fixed issue with mock generation for a file that contains a period before the final extension (e.g. some_protobuf.pb-c.h) Greg Williams 2015-03-12 08:38:26 -04:00
  • 8140b3e9d5 Update README.md Alex Izvorski 2015-02-05 01:51:17 -08:00
  • b6289dfcba Fixed problems in current examples: - fixed path problem to updated unity helper path - fixed problem with some versions of gcc that require -lm to be at end of compile call Mark VanderVoord 2015-01-30 07:58:24 -05:00
  • 33fc50084b - fixed the other place that had the same problem for 1.8.7's lack of define_singleton_method Mark VanderVoord 2014-12-18 16:45:12 -05:00
  • e6b3fc47d5 - (wow, working without my old 1.8.7 virtual machine stinks) Mark VanderVoord 2014-12-18 16:22:34 -05:00
  • 6d4cdf9783 - a second attempt to make test_helper compatible with 1.8.x versions of Ruby Mark VanderVoord 2014-12-18 16:02:29 -05:00
  • e1cd4135b4 - attempt to go with notation in test_helper that is compatible with pre 1.9 versions of Ruby - add 1.8.7 to the Travis test setup Mark VanderVoord 2014-12-18 15:31:44 -05:00
  • d4a0132117 - array plugin now handles const the way other plugins do. Mark VanderVoord 2014-12-18 13:48:56 -05:00
  • d7a448b12f Merge pull request #42 from gruzdev/pragmas Mark VanderVoord 2014-12-16 14:50:13 -05:00
  • 04cb1b0194 - header parser now properly removes multi-line inline function and normal function declarations Mark VanderVoord 2014-12-16 12:44:53 -05:00
  • 0bd786dfa1 - fixed issue with duplicate variable assignments (thanks for pointing it out, Karsten) Mark VanderVoord 2014-12-16 10:48:40 -05:00
  • ecbdbd2716 - fixed license to make it standard MIT license. - updated gem file to reflect latest changes in self-testing methods. Mark VanderVoord 2014-12-16 10:20:56 -05:00
  • 9b91974839 - updated unit tests to use built-in minitest instead of old TestUnit and Hardmock Mark VanderVoord 2014-12-16 10:04:02 -05:00
  • 62574632d0 Merge pull request #43 from jlesage/call_instance_init Mark VanderVoord 2014-12-09 10:05:23 -05:00
  • e6d0a19a65 Merge pull request #44 from jlesage/orig_header_include_format_v2 Mark VanderVoord 2014-12-09 10:02:55 -05:00
  • 472daea243 Adjusted orig_header_include_fmt configuration item to offer a more flexible way to include the original header file. Jocelyn Le Sage 2014-11-06 09:25:02 -05:00
  • 591fa9d1c1 Issue #40: Initialize newly allocated call instances. Jocelyn Le Sage 2014-11-06 08:46:20 -05:00
  • 73f6489f09 Merge pull request #37 from jlesage/orig_header_include_format Mark VanderVoord 2014-10-24 22:09:57 -04:00
  • ab382811f6 Add ifdef guards around GCC diagnostic pragmas Mikhail Gruzdev 2014-10-20 12:25:29 +04:00
  • 88f70597be Fixed multiple inclusion guard in TimerInterruptConcfigurator.h Greg Williams 2014-07-30 10:55:47 -04:00
  • 21743a9b5b Merge branch 'hotfix/update_unity' Greg Williams 2014-07-30 10:45:15 -04:00
  • 66fe93be6c Updated c_exception and unity to latest Greg Williams 2014-07-30 10:44:23 -04:00
  • cac6add8c8 Travis img fix Greg Williams 2014-07-25 16:25:25 -04:00
  • 153653478b Fixed travis CI build status image in README.md Greg Williams 2014-07-25 16:17:22 -04:00
  • b4987375c7 Deleted old rakefile.rb Greg Williams 2014-07-25 13:13:36 -07:00
  • e4098dba9a Added gcc version specific fix for pragma ignores Greg Williams 2014-07-25 16:07:55 -04:00
  • 7d72a32271 Fixed rake invocation in .travis.yml Greg Williams 2014-07-25 15:30:35 -04:00
  • 856dea46fa README fixes Greg Williams 2014-07-25 15:28:34 -04:00
  • d6b0aea0b3 Added .md extension to README Greg Williams 2014-07-25 15:17:31 -04:00
  • be7be41580 Updated to latest version of Unity. Removed -Wno-duplicate-decl-specifier flag from all YAML files, since unsupported in some versions of gcc. Reimplemented ignore in specific files and generated code using a pragmas instead, which are setup to ignore undefined pragma values. Added initial .travis.yml file for TravisCI builds. Greg Williams 2014-07-25 15:13:29 -04:00
  • f597ba92a9 revert cmock_line change because it was breaking on some systems handle filenames with dashes and whatnot when creating header definition name Mark VanderVoord 2014-07-09 09:05:48 -04:00
  • a32b1e1370 add unit tests proving strippables work. Mark VanderVoord 2014-06-06 10:02:16 -04:00
  • a4a67519d1 cleanup to follow a more strict C standard Mark VanderVoord 2014-05-23 11:23:44 -04:00
  • e3e443f274 Added configuration item to specify how to include the original header file. This is useful when mocking a header file that is not local. For example, if the header file to mock is accessible from <mymodule/myfile.h>, one could set the include format to '<mymodule/%s>'. The default format is '"%s"', which keep the previous behavior. Jocelyn Le Sage 2014-05-23 07:28:54 -04:00
  • b07e713eb0 Merge pull request #36 from jlesage/strippables_regex_fix2 Mark VanderVoord 2014-05-22 10:18:21 -04:00
  • 4a4dedd5e2 Adjust source file to be able to properly strip macros when using strippables. Jocelyn Le Sage 2014-05-22 09:14:25 -04:00
  • 1756e4bb17 Merge pull request #35 from jlesage/options_fix Mark VanderVoord 2014-05-22 08:57:23 -04:00
  • 3def9e6011 Properly merge options. Jocelyn Le Sage 2014-05-22 08:49:58 -04:00
  • dfc238ea94 Merge pull request #33 from jlesage/cast_return_type Mark VanderVoord 2014-05-22 08:01:20 -04:00
  • 5d79cf8e56 Merge pull request #34 from jlesage/reset_ignore_bool Mark VanderVoord 2014-05-22 07:59:57 -04:00
  • 19f0bb89b6 Make sure *_IgnoreBool is (re)set to 0 when adding base expectations. This way, a call to *_IgnoreAndReturn() followed by a call to *_ExpectAndReturn() is properly handled (i.e. the function will not be ignored, as instructed by the last statement). Jocelyn Le Sage 2014-05-22 06:49:07 -04:00
  • 5c07c70e93 Fixed another 'return from incompatible pointer type' compiler warning generated by ExpectAnyArgs plugin. Jocelyn Le Sage 2014-05-22 06:00:06 -04:00
  • f357e19765 update to latest unity Mark VanderVoord 2014-05-21 20:13:43 -04:00
  • efcd13d3aa Make sure CMock releases its dynamically allocated memory at the end of the entire suite. Mark VanderVoord 2014-05-21 19:23:18 -04:00
  • e835ad9c9d Fix error where we would get errors if we IgnoredAndReturned a function and then never called it. stupid eh? ( thanks for bringing this up, smaankers) Mark VanderVoord 2014-05-21 16:48:27 -04:00
  • e42f10ebc2 Fixed usage of ReturnThruPtr when also using ExpectAnyArgs (thanks for noticing this one, jlesage) Mark VanderVoord 2014-05-21 16:34:18 -04:00
  • 85fa655023 - cmock now accepts any combo of yaml and command line options, applying them in the order they appear on the command line (thanks kylebhamilton for the suggestion!) Mark VanderVoord 2014-05-21 15:26:43 -04:00
  • 11db2a22a3 * If people are asking us to do things like "const char const *", then we shouldn't further complain about it. Mark VanderVoord 2014-05-08 14:43:07 -04:00
  • 6f327db56c Merge pull request #30 from jlesage/compiler_warning_fix Mark VanderVoord 2014-05-08 14:41:19 -04:00
  • ca13c8361c Better way to fix a 'return from incompatible pointer type' compiler warning for const return types. Jocelyn Le Sage 2014-05-08 14:20:22 -04:00
  • b9b68bd26c - fixed broken tests introduced by Jocelyn's changes (oops. I should have checked that) - reverted casting change, because it produces many pedantic C errors. Mark VanderVoord 2014-05-07 15:57:08 -04:00
  • db3ff131a5 Merge pull request #28 from jlesage/master_for_pull_request2 Mark VanderVoord 2014-05-06 09:56:48 -04:00
  • 2160552c00 Merge pull request #29 from jlesage/master_for_pull_request3 Mark VanderVoord 2014-05-06 09:53:42 -04:00
  • 8bd739e9bb Fixed 'unused variable `cmock_line' compiler warning. Warning was produced by generated code for functions without args. Jocelyn Le Sage 2014-05-06 08:45:07 -04:00
  • fbda0d96f6 Fixed 'return from incompatible pointer type' compiler warnings that were produced by generated code for functions having 'const ptr' has return value. Jocelyn Le Sage 2014-05-06 08:39:24 -04:00
  • 027648a9b2 Properly mark the 'const' state of a fonction's return type. Jocelyn Le Sage 2014-05-06 08:27:31 -04:00
  • 053c3b67f1 use latest unity Mark VanderVoord 2014-05-01 15:53:13 -04:00
  • e15b82127b fix errors in attribute parsing reject definitions in header files beef up tests to prove both of these work without any extra external help Mark VanderVoord 2014-04-22 13:19:50 -04:00
  • 0e3d0fd1d5 pull in latest unity Mark VanderVoord 2014-04-21 17:02:09 -04:00
  • 335c0bd48c don't use any Ruby 1.9-only notation in the encoding call Mark VanderVoord 2014-04-21 16:16:07 -04:00
  • 7f4d5c7306 Fixed symbol loading when using direct command line arguments Mark VanderVoord 2014-04-15 11:34:02 -04:00