173 Commits

Author SHA1 Message Date
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
780c17d017 - updated unity test runner generator to support parameterized tests optionally.
- updated docs to better discuss generator options.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@104 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-26 19:37:22 +00:00
f2ce354f99 - cleaned up test runner problems. again getting ready to support parameterized tests
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@103 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-10 16:15:09 +00:00
7ecafcbe5c - revert last change until I figure out what I screwed up
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@102 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-10 15:35:57 +00:00
953b55c7e3 - made RUN_TEST so that it doesn't require a custom runTest by default
- updated generator to lay simple foundation for parameterized test support

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@101 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-10 14:53:34 +00:00
d1bd6e29cc - dropped lf in output
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@100 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-10-22 14:57:52 +00:00
4f2de8c87e - now compat with Ruby 1.9.2
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@99 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-10-22 00:46:58 +00:00
a1ed0deceb git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@98 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2010-10-14 12:21:16 +00:00
33fa00d518 - added tests for generate_test_runner. other script tests to come
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@97 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-23 02:39:15 +00:00
1f643e8661 - updated example and main tests to show how to use generate_test_runner with yaml target file
- improved error reporting for generate_test_runner

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@96 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-22 00:19:04 +00:00
b7564ce8a0 - reduced target file redundancies in Unity
- fixed broken gcc makefile

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@95 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-19 01:07:58 +00:00
f278fda873 - added hitech_picc18 sample target
- added ability to do suite_setup and suite_teardown to runner

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@94 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-10 12:15:05 +00:00
ab221162d3 - inlined '0x' printing in UnityPrintNumberHex to avoid unnecessary recursion
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@93 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-07 13:20:26 +00:00
d01fe47662 - renamed 'bit' variable to 'current_bit' to avoid name collision with some special compilers (HiTech for PIC)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@92 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-09-06 19:03:07 +00:00
8f0d259539 - cr/lf marker independent parsing code for summary
- removed pointless braces in a couple of macros

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@91 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-08-24 00:12:11 +00:00
f5ce02f135 - removed pointless cast from UnityPrint
- test executable returns number of failures as exit status
- caught up lame text docs

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@90 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-08-13 00:32:34 +00:00
7ff6761ff1 added blank version and build number files
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@89 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-31 18:49:22 +00:00
4ab76a98ba - updated unity docs to match new version of TEST_FAIL macro
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@88 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-31 16:27:57 +00:00
8177f62867 made unity internally consistent with fail and ignore macros having/not having message parameters
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@87 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-30 22:39:52 +00:00
0cd87b0a2e - fixed a silly mistake where TEST_IGNORE was accepting a message argument when only TEST_IGNORE_MESSAGE should have been
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@86 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-30 11:41:20 +00:00
a9ccd245b0 - added 64 bit support
- organized targets into a subdirectory
- cleaned up testing so floats and 64-bit ints are only tested if enabled


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@85 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-28 01:06:21 +00:00
095af497b0 added cortex support
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@84 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-18 18:48:25 +00:00
4049959edc removed unnecessary function overhead introduced in previous commit
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@83 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-08 17:42:15 +00:00
1f14c09b2b added protection to prevent multiple test assertion failures or multiple ignores in single test case (usually due to asserts in tearDown)
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@82 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-08 17:24:11 +00:00
fe4ce4166c - updating docs to match latest assertions and config options
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@81 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-02 19:48:59 +00:00
a867d1f6bf - fixed some formatting
- added a cast to reduce warnings

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@80 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-06-24 19:16:48 +00:00
b8007051b1 - All array asserts now check for NULLs properly and uniformly
- Cleaned up testing

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@79 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-06-24 16:42:57 +00:00
9909bfe235 robustified null pointer handling for array handling
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@78 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-06-24 04:45:31 +00:00