Dom Postorivo
3b5b491860
sub in '_' for '-' in define and test name in module generator
2019-12-26 01:10:09 -05:00
mvandervoord
eb0bd42f0d
Updated to newer coding standard
2019-10-24 15:33:41 -04:00
Nico Tonnhofer
a59db2bdbf
add a blank line after #include "unity.h"
...
The include must be in the first line, else you may expect some issues.
Some autoformat tools could sort the includes alphabetically and could
break the test.
2019-06-27 08:28:52 +02:00
Jason Heeris
ead95b3ab8
Removed leading underscore from module generator header guards.
2019-02-22 08:38:29 +11:00
John Lindgren
6b657c6f17
Fix (most) Rubocop warnings.
2018-11-28 13:27:00 -05:00
Mark VanderVoord
c1bc32dc58
- Generator will not change names by default
...
- Fixed some style issues.
2017-06-25 13:58:31 -04:00
Mark VanderVoord
3e0a7121fb
Started to flesh out rubocop settings for this project. Added rakefile tasks to do so. Updated first script to make it compliant.
2017-03-28 15:48:28 -04:00
Mark VanderVoord
3062c39725
Starting to enforce our coding style. The first step is that we’ve pulled in Rubocop to check out Ruby syntax. There is likely a bit of customization to do yet AND there is definitely that backlog of todo’s that we just told it to ignore.
2017-03-28 08:44:32 -04:00
Matt Chernosky
7b51355e5a
Module generator finishes for partially existing files
...
This resolves #219 . When generating a new module, if all the files to
generate already exist then it fails as before. If some of the files
already exist, then the files that need to be created are created. Any
existing files are not changed.
Also added a bunch of tests for this feature via rspec. Run them from
the test folder with `rake spec`.
2016-12-02 13:49:07 -07:00
Matt Chernosky
37049a3a20
Fixed error when path provided with module name.
2016-11-28 23:57:17 -07:00
Mark VanderVoord
4386cf356f
Added to Module Generator:
...
- configurable case.
- better passing of includes and boilerplate information
- test only pattern
- optional naming conventions for case
2016-11-22 14:24:24 -05:00
Mark VanderVoord
4e2f0381cc
Add ability to inject correct mock prefix
2016-11-21 15:19:16 -05:00
Mark VanderVoord
661c1b2d56
Boost version and remove some debug puts statements
2016-10-27 23:06:18 -04:00
Mark VanderVoord
2ce8618014
refactor generate_module so that it can be called as a class from within Ceedling (much like the test runner generator)
2016-10-27 17:33:13 -04:00
Mark VanderVoord
b3bc196ab3
making new flush routines work under all defined conditions.
2016-06-21 10:01:34 -04:00
Mark VanderVoord
33325f4a0b
More fixes to line endings
2016-01-07 14:20:59 -05:00
mvandervoord
26c61f611f
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@109 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-12-27 17:33:08 +00:00
mvandervoord
3fbc034e7d
- restored examples to working condition
...
- restored makefiles to working condition
- updated files to include copyright notice
- fixed bug in string array comparisons
- ignored tests no longer run teardown
- tests failing for uncaught cexceptions now get exception id reported
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@70 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-04-26 01:10:48 +00:00
mvandervoord
5e6a64bca4
- added missing generate_module script
...
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@50 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-12-28 18:34:33 +00:00