Commit Graph

34 Commits

Author SHA1 Message Date
Mark VanderVoord 43fa31380d - Renamed :strict_mock_calling option to :fail_on_unexpected_calls for clarity. 2017-09-08 14:54:55 -04:00
laurensmiers a04e3f160c Expand docs with 'strict_mock_calling' option 2017-09-07 12:28:18 +02:00
Simon Kuhnle 5ee669ecc0 Fix minor typos in CMock summary 2017-08-23 09:22:42 +02:00
Simon Kuhnle 02aeab8fef Link to examples directory in CMock summary 2017-08-23 09:21:01 +02:00
Mark VanderVoord dfc1955c51 Switching to markdown documentation. Add coding standard. 2017-04-07 13:36:44 -04:00
Mark VanderVoord dcd6fe44af Updated docs
Fixed a couple little issues and added a note about example projects
2017-04-05 14:49:55 -04:00
Mark VanderVoord f4f149792f Update docs
Elaborate  on :strippables feature in docs to fix issue #16
2017-04-05 14:38:24 -04:00
Mark VanderVoord b666bf05c1 Update CMock_Summary.md 2017-04-05 12:42:03 -04:00
Mark VanderVoord a139775672 Update CMock documentation 2017-04-05 11:38:57 -04:00
Mark VanderVoord d2819592a7 Merge pull request #95 from SteinHeselmans/master
Add config option that allows for weak mocked functions
2016-10-27 10:16:15 -04:00
Stein Heselmans c910393cca More configuration options for weak symbols 2016-10-14 14:46:33 +02:00
Stein Heselmans 6c8054dc34 Add config option that allows for weak mocked functions 2016-10-14 13:43:02 +02:00
Mark VanderVoord 0996f5fb55 Update docs to correct an argument.
Update create mock to maintain Ruby 1.8.6 compatibility
2016-08-11 12:39:50 -04:00
Stein Heselmans 9e36dc07b1 add mock_suffix configuration option
Same as mock_prefix configuration option. A suffix is easier to work with, if
cmock generation is done from an external GNU makefile.
2016-03-01 16:18:22 +01:00
Mark VanderVoord 2ac0ccb27b fixed white space 2016-01-04 20:00:32 -05:00
ftoulemon 2b6ad4e00b Update CMock_Summary.md
Add the documentation for the :strippables configuration option.
2015-07-09 14:15:04 +02:00
Eivind Tagseth 2b89990106 Add support for subdirs (ref issue #1)
New option :subdir has been added.  Creating a mock for
e.g. sys/types.h using cmock_generator.rb with this option
set in config file, or more likely, command line parameter
--subdir=sys makes cmock create the files
:cmock_path/:subdir/:cmock_prefix+"types.[ch]"

The generated mock file will include the original header
file using #include <sys/types.h> as expected.

Only the generating code has been changed, the example
code with scripts for creating makefiles/creating mocks
using rake was too much work for me, and I didn't need any
of it.
2015-04-10 22:31:32 +02:00
Mark VanderVoord ecbdbd2716 - fixed license to make it standard MIT license.
- updated gem file to reflect latest changes in self-testing methods.
2014-12-16 10:20:56 -05:00
Mark VanderVoord ba6a52b8de updated the documents to include all plugins and some other minor tweaks. 2014-03-17 10:43:19 -04:00
Mark VanderVoord 86594eea25 * split :args_only feature from :ignore plugin to be its own :expect_any_args plugin
* made :expect_any_args work with intermixed expects the way you would think it should work.
2014-03-03 19:28:50 -05:00
Mark VanderVoord bb5fd622c3 * added ability to pass most options through the command line directly (see doc updates) 2013-10-01 08:26:13 -04:00
Scott Vokes 9631fbe388 Add initial Markdown conversion of 'CMock Summary.odt'. 2012-03-30 11:24:21 -04:00
mvandervoord 310daf1d9e - updated :unity_helper option to :unity_helper_path because it's... you know... a path. (still backwards compat when needed)
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@213 bf332499-1b4d-0410-844d-d2d48d5cc64c
2011-04-28 00:45:41 +00:00
mvandervoord cee9277594 - updated CMock documentation
- beefed up 64-bit testing


git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@200 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-12-29 03:10:53 +00:00
mvandervoord 1639e2f49f - updated cmock to use unity's understanding of pointer size (why double configure?)
- small tweaks to cmock docs

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@181 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-07-29 02:39:57 +00:00
mvandervoord 7e0c3907b8 - updated docs to have latest config options
- allow function pointers to have an implied void like bleh()

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@178 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-07-02 20:00:39 +00:00
mvandervoord 8cb956367d - added ability to use callbacks with or without argument checking
- added ability to use callbacks with or without the extra count argument
- updated docs

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@164 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-06-08 00:46:50 +00:00
mvandervoord 3779a76069 - fixed error in docs
- make unity optional (even though we don't fully support any other framework yet)


git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@163 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-06-06 17:00:30 +00:00
mvandervoord 36de9c6fc4 - added copyright notices to code (oops)
- protected against people using extern "C"

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@161 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-04-27 02:14:44 +00:00
mvandervoord b2241274e4 - rolled in color coding changes from Martyn
- cleaned up utils to make faster and clearer
- corrected mistake in system test helper

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@157 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-03-13 04:53:12 +00:00
mvandervoord 06ef8bb221 * added callback plugin
* cleaned up plugin prioritization
* updated plain docs

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@148 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-12-04 18:52:59 +00:00
mvandervoord c15115d596 * Runnable from command line
* Updated docs to better explain config and usage

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@53 bf332499-1b4d-0410-844d-d2d48d5cc64c
2008-12-13 01:18:04 +00:00
mvandervoord 7501324c20 docs forced to better conformity
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@35 bf332499-1b4d-0410-844d-d2d48d5cc64c
2008-10-29 12:34:05 +00:00
greg-williams 379cd02c5c - Added initial documentation
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@32 bf332499-1b4d-0410-844d-d2d48d5cc64c
2008-10-28 20:59:38 +00:00