150 Commits

Author SHA1 Message Date
d6779b76c4 Add test that will break if the _Unity struct ever changes. 2012-10-04 11:48:36 -07:00
aac87e01b4 Fully expand Unity struct. 2012-10-04 11:48:36 -07:00
02e11c9bd0 adding test cases to complete the testing list 2012-10-04 11:48:36 -07:00
8661f3f281 Merge pull request #5 from wsp/master
Pull request.
2012-09-06 16:20:56 -07:00
8152932fe7 Merge pull request #8 from alejmrm/fix_within_message
Fix issue #7 INTx_WITHIN_MESSAGE() macro
2012-09-06 16:19:14 -07:00
e95f662683 Fix issue \#7 INTx_WITHIN_MESSAGE() macro
The reason that TEST_ASSERT_xyz_WITHIN_MESSAGE() family of functions
doesn't print any message is because is calling a re-use macro from the
TEST_ASSERT_xyz_WITHIN() family of functions. Due this two functions in
unity.h calls the same function from unity_internals.h, the message is
nullified at this point. The issue is fix by passing _message_ arg to
the 4th argument of *UnityAssertNumbersWithin()* function.
2012-08-28 15:06:09 -07:00
c5ba747a24 Fix typos in unity_test_summary.rb usage statement. 2012-08-17 22:51:21 -04:00
b7d9d007ce Merge branch 'master' of github.com:ThrowTheSwitch/Unity
Conflicts:
	src/unity_internals.h
2012-06-20 20:03:36 -04:00
4724af154c Added directory task to create temp build/ folder, and added .gitignore to prevent this new folder form being tracked by git. 2012-06-20 23:51:51 +00:00
91ea65ca12 - I've decided to automatically turn on 64-bit support if the pointers, ints, or longs require it.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@142 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-28 01:07:35 +00:00
4ddc77efd6 - docs are now caught up to latest feature set
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@141 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 23:37:56 +00:00
c4f0537c0c - changed the default handling to always include stdint unless told to exclude it.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@140 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 21:54:53 +00:00
dbdc603024 - further fixes to pointer auto-detect
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@139 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 21:48:49 +00:00
c1b954eb9d - added size auto-detection support from limits.h
- fixed error in _INT macro size guessing

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@138 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 20:29:33 +00:00
4742b5d77a Change gcc.yml default to gcc_32.yml (explicitly compile for 32-bit target) 2012-04-27 11:53:12 -04:00
d0c3f24f4d If using UNITY_SUPPORT_64, UNITY_POINTER_WIDTH should default to 64 (not 32).
Fixes failing test cases on 64-bit OSX: pointers to local variables were
being converted to U32s before comparison.
2012-04-27 10:31:54 -04:00
17663feed2 Added directory task to create temp build/ folder, and added .gitignore to prevent this new folder form being tracked by git. 2012-02-13 08:44:04 -05:00
d0d5ec5d75 - unity_test_summary script callable from command line again
- fixed obj_file sorting in rakefiles
- gave better anchors for gcc to grab on test pass/fail by breaking them out as functions
- fixed minor type issues

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@137 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-01-02 21:38:36 +00:00
3a82e1eeab - fixed summarizer to handle more generic input
- ignore comments in test parser
- fixed a couple bugs in 16-bit support
- fixed minor compiler errors for less lenient compilers
- fixed error in docs.
- renamed link to link_it in rakefiles to avoid collision in new versions of rake

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@136 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-10-11 02:40:04 +00:00
152e78a4a8 - cleaned up pointer support to handle arrays and to give error when you have an illegal configuration
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@135 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-05-14 15:52:52 +00:00
504bf2edee - fixed conditional self-tests
- rolled in DOUBLE support from Mark Vismer (thanks!)

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@134 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-05-03 11:05:56 +00:00
7deba78730 - backed out Mike's incorrect changes to generate_test_runner
- made generate_test_runner's two include groups more clearly differentiated
- added negative tests to int16's.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@133 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-28 00:29:20 +00:00
b44d3f3e9d git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@132 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2011-04-27 04:36:26 +00:00
9691acfb82 fixed forgotten includes
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@131 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-27 04:24:05 +00:00
43b4c94f7b - protect against ints that only have differences in higher nibbles that shouldn't be part of comparison
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@130 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-20 11:56:56 +00:00
114755e200 - renamed parts of test hash used internally so ceedling can inject information more easily.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@129 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-17 23:01:26 +00:00
39654f36e8 - separated generate step in test runner generator
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@128 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-15 01:01:39 +00:00
4e4046a897 - updated memory assert to be more verbose (and dropped memcmp)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@127 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-04-01 02:09:30 +00:00
bc1674df09 added some barely needed comments to UnitySizeMask
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@126 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-03-22 23:45:43 +00:00
0195ea4e5a git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@125 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2011-03-22 18:03:36 +00:00
3d61357343 - updated fixture to match James' suggestions.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@124 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-03-09 02:05:05 +00:00
3ef64ee047 - replacing non-universal method of masking word sizes
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@123 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-03-04 19:01:27 +00:00
98c3df2970 git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@122 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2011-03-03 21:29:39 +00:00
e06aa48bca - fixed minor bug which was causing warnings on some compilers
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@121 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-03-03 12:15:11 +00:00
a82bbbacf4 http://its-not-its.info
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@120 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-02-18 03:51:55 +00:00
02f12f7a4c - fixed pretty-printing error with small uint sizes
- added a couple of user-submitted ports

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@119 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-02-18 02:00:29 +00:00
177e04bbab git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@118 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2011-02-10 21:19:15 +00:00
44fa5bef55 - removed TEST_CASE(...) macro from Unity because it's not compatible with a number of compilers. User will need to define it themselves to use it. (it's an empty define anyway)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@117 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-02-04 19:50:49 +00:00
6787ada5ad - NOTE: now you need to define UNITY_SUPPORT_TEST_CASES to use TEST_CASE. This is to avoid problems with compilers that don't support varargs in macros.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@116 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-24 12:57:50 +00:00
3e472491c9 - added ability to parse fun characters like parenthesis in TEST_CASES
- fixed TEST_CASE error

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@115 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-22 18:53:23 +00:00
aca9892418 - fixed yaml load option
- added option to specify includes as <stdlib.h> so that they will get angle brackets instead of ""

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@114 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-22 18:20:39 +00:00
4b8d521247 - version file is just going to have major and minor... leave build for the other file (which will hopefully be automatic someday).
- only extern the output function when it's custom.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@113 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-14 00:54:12 +00:00
0a0a5a6a04 updated release info files
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@112 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-13 16:15:09 +00:00
e067b442a3 - updates to fixture in extras (submitted by James Grenning)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@111 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-01-04 20:08:32 +00:00
4e4d4291d6 - updated documentation
- parameterized tests now output parameters as part of message


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@110 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-12-28 15:32:20 +00:00
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
6ae3084c72 - minor tweaks to work with latest gcc
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@108 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-12-22 01:27:39 +00:00
57178b9295 - tweaked parameterized tests to be C99 standards compliant
- fixed a few bugs in fixtures to get it to pass against our standard compilers
- added extern of OUTPUT_CHAR method to keep compilers from complaining

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@107 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-12-01 01:56:24 +00:00
5a6b8c405b - added a tweaked version of James Grenning's unity_fixture to extras
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@106 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-29 22:53:57 +00:00
962ce941df - caught up runner generator script tests
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@105 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-26 22:27:37 +00:00