Commit Graph

  • 99422cddb1 * added tests for single bracket arrays as pointers (need to think of desired way to handle mulitdimensional arrays) * rolled unity float support in as default. user can still overload with :treat_as mvandervoord 2010-01-11 12:46:43 +0000
  • f6ebb9de6a * updated CMock internal variable and function names to avoid naming conflicts. mvandervoord 2010-01-10 02:24:59 +0000
  • ece9f0dc89 * smarter stripping of typedef lines * better error reporting when config file requires an array but didn't get one mvandervoord 2009-12-29 20:56:31 +0000
  • 4a1a7bdb4d - CMock verbosity control mvandervoord 2009-12-06 19:20:53 +0000
  • e72fb66e12 - updated to support latest cexception changes mvandervoord 2009-12-05 00:39:07 +0000
  • 06ef8bb221 * added callback plugin * cleaned up plugin prioritization * updated plain docs mvandervoord 2009-12-04 18:52:59 +0000
  • eee379f611 - added array/pointer "smart" mode support - removed differentiation between array and pointer (since it doesn't exist at this point anyway) mvandervoord 2009-11-28 01:44:38 +0000
  • dbb397adbe - better array and pointer support mvandervoord 2009-11-27 03:40:48 +0000
  • 0f857f24ec - foundation work towards more awesome pointer/array handling. not there yet, so don't try this at home kids. mvandervoord 2009-11-26 00:55:02 +0000
  • f63d8d7813 Friendler failure message if a mock is unable to allocate memory for itself (which is likely to happen if your production environment has no heap and you neglect to define one for your test environment) ajwitte 2009-11-04 16:51:31 +0000
  • 81d94eeca9 now ignoring contents of #pragma asm sections in header files, which were previously erroneously treated as C tokens ajwitte 2009-10-27 21:08:34 +0000
  • a875949914 - fixed an error in pointer handling. beefed up tests mvandervoord 2009-08-27 23:07:07 +0000
  • 1ed579f206 - updated cmock scripts to use the new generator (duh) mvandervoord 2009-08-24 14:09:37 +0000
  • c524ae7c9d - faster, stronger and lighter parser - more robust comment removal - disable plugins by default mvandervoord 2009-08-24 13:57:11 +0000
  • 6bb989a3c0 - lots of optimization (except in parsing... we've left that for another day!) mvandervoord 2009-07-10 20:46:27 +0000
  • c9fdbe29fd - removed configurable tabs because they aren't valuable compared to their hit on performance * WARNING: This change will very likely break your calling of generate_version_runner in unity * mvandervoord 2009-06-25 19:24:40 +0000
  • f1ee6295d3 - beefed up system tests to handle cases where users run multiple expect setup and consume loops within a test - fixed bugs related to those behaviors - standardized messages a bit mvandervoord 2009-06-25 18:08:58 +0000
  • d37f46ffbd - updated tests (unit and system) to prove strict ordering is happy mvandervoord 2009-06-24 12:09:43 +0000
  • ffbb92854f - finished strict ordering mvandervoord 2009-06-24 02:27:32 +0000
  • e19e1fdd46 - added config option :when_no_prototypes which takes options :ignore, :warn, or :error, controlling how it will react to being asked to process headers with no prototypes (defaults to :warn) mvandervoord 2009-06-21 01:30:56 +0000
  • 5843b7e518 more type unit tests mkarlesky 2009-06-20 02:57:16 +0000
  • d6d1757172 comment edits only mkarlesky 2009-06-19 22:45:56 +0000
  • f06f500dab fixed up parser to handle custom types whose names begin with primitive types; fixed holes in handling of spaces mkarlesky 2009-06-19 21:35:06 +0000
  • 3e1651c937 * updated for better compatibility (now works with 1.8.6, 1.8.7, 1.9.0, 1.9.1) * fixed bugs and cleaned up strict global ordering support (and added system test to prove it) mvandervoord 2009-06-19 02:05:46 +0000
  • bdfa059832 updated header parser comments and tests to capture new beahvior of extracting removing structs, unions, & enums including any modifiers at beginning of line. mkarlesky 2009-06-07 21:57:14 +0000
  • 8683a6b3ff made struct, union, and enum handling more robust to remove up to beginning of line containing them (helpful when 'extern' is only word left) mkarlesky 2009-06-03 21:30:20 +0000
  • 82eb878cf6 added parsing handling to smartly handle forward declared structs mkarlesky 2009-06-03 21:11:30 +0000
  • dcccac54ce fixed oversight on removing named structs, unions, and enums mkarlesky 2009-06-03 16:20:27 +0000
  • afd08adb8c fixed system test execution to use modified interface of UnityTestRunnerGenerator mkarlesky 2009-06-03 15:57:58 +0000
  • 8d625b8b31 added the removal of structures from header files; they can include function pointers which will throw off prototype parsing mkarlesky 2009-06-03 15:56:00 +0000
  • 136993c73e updated type qualifier and attribute handling to strip out all type qualifiers from prototypes (except const) and pull out user-defined function attributes before parsing but preserved for later use mkarlesky 2009-05-28 18:24:58 +0000
  • 40a80e0a0e - suppress a couple of warnings so we can test these weird cases. mvandervoord 2009-05-28 16:02:09 +0000
  • 016cd32b1f - added some system tests for custom types and treat_as - added some system tests for cexception support - fixed some minor issues with cexception plugin mvandervoord 2009-05-28 15:39:41 +0000
  • 7a146f0786 file rename mkarlesky 2009-05-28 04:37:52 +0000
  • 204e94fb59 added more tests mkarlesky 2009-05-28 04:18:48 +0000
  • e8f7468cd2 tweak to give parser proper header name for error reporting mkarlesky 2009-05-28 04:08:01 +0000
  • aab0724859 moved removal of 'const' to prototype parser handling from mock generation to control format (whitespace) of type strings mkarlesky 2009-05-28 04:02:20 +0000
  • 6f7542e7aa added handling to explicitly ignore externed functions in header file to be mocked mkarlesky 2009-05-27 21:54:49 +0000
  • 040aaf75dd made const handling more better to accept crazy magic fairy dust use of 'const' sprinkled about in argument lists mkarlesky 2009-05-27 20:37:06 +0000
  • e56e2a4acd added more system tests; refined existing mkarlesky 2009-05-27 18:43:49 +0000
  • f2786f116a corrected parsing oversight related to 'const' trailing a type specifier mkarlesky 2009-05-27 18:06:48 +0000
  • 9afe7bfa13 - removed root-path dependencies - cleaned up support for multiple target compilers mvandervoord 2009-05-27 12:48:39 +0000
  • b8bc19e131 final changes to allow new parser to successfully process/mock osek.h stress test file mkarlesky 2009-05-26 21:16:55 +0000
  • c4fb5fceb6 added handling to ignore prototypes defined multiple times, to remove unions from header files, remove enums from header files, to ignore function pointer arrays rather than falsely recognize as function prototypes mkarlesky 2009-05-26 17:16:32 +0000
  • 0bef802fc1 first stab at compilation stress tests added to system tests; modified attributes handling to remove attributes (e.g. 'register') from argument list during header parsing mkarlesky 2009-05-26 02:34:56 +0000
  • c0779d1604 fixed oopsie in directory rename mkarlesky 2009-05-25 23:47:15 +0000
  • a111c32b95 git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@107 bf332499-1b4d-0410-844d-d2d48d5cc64c mkarlesky 2009-05-25 23:45:18 +0000
  • 4bfa5881ae renamed system test cases directory to match new compilation directory name mkarlesky 2009-05-25 23:32:43 +0000
  • 268ba11d49 added handling for array index operators in argument lists mkarlesky 2009-05-25 23:28:46 +0000
  • 9d608d61d3 added enum handling to parser; updated comments in test files produced in system test file generation mkarlesky 2009-05-22 21:50:00 +0000
  • 461f0d3fb9 removed commented out unity helper sections now that struct_and_union serves as working example mkarlesky 2009-05-22 04:39:36 +0000
  • 07938ab2de corrected struct argument handling; added union argument handling mkarlesky 2009-05-22 04:37:06 +0000
  • e48df8ba14 first feature complete version of new function prototype parser - including robust function pointer handling mkarlesky 2009-05-21 23:50:35 +0000
  • 62f543667f reorganized system tests; correct problem wherein argument list parameters containing names of primitive types would cause bad parsing results mkarlesky 2009-05-19 04:34:17 +0000
  • bac4c93be8 const handling system tests mkarlesky 2009-05-16 02:15:41 +0000
  • 4ca4d175cf first pass at integrating function pointer handling mkarlesky 2009-05-15 06:00:47 +0000
  • 153b8b9000 added support: 'struct' qualifiers for pointers in argument lists, const function pointers, added more type tests mkarlesky 2009-05-15 00:57:26 +0000
  • f63c2b4fc8 first stab at prettying up load_paths and require handling b/c of vendor/gems mkarlesky 2009-05-14 19:33:26 +0000
  • e6c84d9e07 completed first pass at testing slimmed down cmock_header_parser using new function prototype parser; added functionality to raise exception upon failed parsing or no prototypes in file to be parsed mkarlesky 2009-05-14 19:10:42 +0000
  • 17631c66f8 another intermediate check-in while tying together new function prototype parser with header_parser mkarlesky 2009-05-14 13:47:56 +0000
  • 500c30a5ce intermediate check in; integrating new parser and tests thereof yet in progress mkarlesky 2009-05-14 05:18:45 +0000
  • 71729e1b65 - changed 'parameter' to 'argument' in text because it's more accurate. mvandervoord 2009-05-13 23:15:01 +0000
  • 49d8d32ef5 added new function prototype parser and treetop gem (not yet folded into cmock proper) and tests; cleaned up file paths in test require statements mkarlesky 2009-05-11 02:15:51 +0000
  • 8229ec8448 made new typedef void handling more better to ignore function pointer typedefs with void return type mkarlesky 2009-04-23 17:27:44 +0000
  • 637dd73d4d added handling of odd typedef edge case for void type mkarlesky 2009-04-23 15:00:35 +0000
  • 14ce655a91 added couple function parsing test cases; inserted comments mkarlesky 2009-04-22 12:57:06 +0000
  • 733d463d4f tightened up function recognition to ignore array declarations; reordered commentprocessing to take out block comments before line comments (in case line comments are embedded in block comments) mkarlesky 2009-04-21 18:08:10 +0000
  • 9088e2038d undid include processing in mock header & source generation mkarlesky 2009-04-20 23:34:07 +0000
  • 6a5f4d4cdf made header parsing marginally better until we handle function declarations in an awesome way; removed filewriter system test from unit test (tested thoroughly by system tests); pushed all auxilliary includes into mock header file instead of source mkarlesky 2009-04-20 22:20:39 +0000
  • c62a709092 fixed multiline handling; removed several bits of vestigial code from old cmock versions; made parsing much more readable mkarlesky 2009-04-20 17:34:16 +0000
  • 98658b5fb6 removed automatic extern instance handling wonkiness (possibly leftover from previous cmock mechanisms) mkarlesky 2009-04-19 01:04:17 +0000
  • e149f7b235 made argument parsing a bit more forgiving for crazy argument lists mkarlesky 2009-04-17 23:40:30 +0000
  • fcf0b78abf made gcc.yml options consistent; updated svn:ignore paths mkarlesky 2009-04-16 13:10:09 +0000
  • b4ff6c8f08 - updated all three current compiler yaml files to work with system tests. made gcc (default) yaml file more strict. mvandervoord 2009-04-16 01:29:47 +0000
  • 68b41c0f21 fixed oversight of spitting out consistently formatted pointers in argument list declarations of mocks mkarlesky 2009-04-15 21:14:54 +0000
  • 3f9f515f3e - added a couple more system tests for parsing. many more required. mvandervoord 2009-04-15 20:17:44 +0000
  • db521df7d6 smartened up function declaration parsing and pointer formatting mkarlesky 2009-04-15 19:57:36 +0000
  • c081525fbc - updated header parser to pull in variable attribute list from configuration mvandervoord 2009-04-15 12:04:37 +0000
  • 2513d1f54f fixed return type processing to handle all variations of '*' placement for pointer types mkarlesky 2009-04-14 22:08:23 +0000
  • 156879d750 few more basic system tests plus slightly better system test reporting mkarlesky 2009-04-12 03:46:55 +0000
  • 3336f30edf first version of true system testing mkarlesky 2009-04-11 03:54:22 +0000
  • 8fb0ca9d49 - added strict ordering support option - updated yaml config file to use symbol for root (to be consistent with other places). mvandervoord 2009-04-11 03:06:09 +0000
  • 66363823bb - updated externals to not use security by default mvandervoord 2009-03-21 20:30:59 +0000
  • c191121d2c Replaced array each_slice with equivalent code, since build failed on OSX with Ruby 1.6 and 1.7. greg-williams 2009-03-09 01:53:44 +0000
  • c60dc79c93 - fixed bug in cmock header generation if using non-default mock prefix. mvandervoord 2009-03-03 20:51:39 +0000
  • 5484453cfd added void* to default HEX32 assertion handling mkarlesky 2009-03-03 20:48:05 +0000
  • 0e4d71efe2 - portability improvements mvandervoord 2009-03-02 01:09:24 +0000
  • c076c659f0 make sure we include the math library for gcc example builds mvandervoord 2009-03-02 00:56:33 +0000
  • 18b335b222 - trying to define INFINITY and NAN in a more generic way. mvandervoord 2009-03-02 00:51:55 +0000
  • fa6853e9d9 - Cleaned up some naming in generated code - Parsing can now handle arguments without names (they are named something standard) - Configurable Mock prefix name mvandervoord 2009-02-22 03:24:28 +0000
  • 868e951c0e - handles pointers (but not yet arrays) mvandervoord 2009-02-22 00:06:43 +0000
  • 795d23bad2 - some cleanup of how to handle default and user defined types before tackling pointers mvandervoord 2009-02-20 23:16:07 +0000
  • e2b3365b16 * configurable to complain or use memcompare when can't find good helper * fixed parser bug: * is now always with type, not argument * more robust struct detection. now can find pointers as _ARRAY helpers * other minor fixes mvandervoord 2009-02-20 04:01:04 +0000
  • 79ea4fa7fc added (void*) casts for TEST_ASSERT_EQUAL_MEMORY_MESSAGE mkarlesky 2009-02-19 23:09:30 +0000
  • ecdac45ae6 added (void*) casts for TEST_ASSERT_EQUAL_MEMORY_MESSAGE mkarlesky 2009-02-19 23:07:40 +0000
  • 66e744fe2b added defines to example Types.h needed by some compilers; reverted changes in return handling that accidentally snuck in previous check in mkarlesky 2009-02-19 18:46:57 +0000
  • 1a0764e117 - files i forgot yesterday mvandervoord 2009-02-19 12:38:08 +0000
  • 492e319e11 * major changes to Expects to support structs, etc... not recommended for general consumption yet. mvandervoord 2009-02-19 03:28:53 +0000
  • c7ec4f5b9a * cleaned up interface to plugins * plugins no longer need to implement unused functions * config now is extensible to support changing plugin needs mvandervoord 2009-02-11 18:47:58 +0000
  • 302dcc9923 Made example project a little more friendly to various compilers. mvandervoord 2009-01-28 13:44:26 +0000