Commit Graph

  • 292a6eac9e Merge pull request #17 from bjones1/master Mark VanderVoord 2012-11-21 05:19:21 -08:00
  • c2737fc71c Fix: For floats, make sure all constants are single-precision floating point values. For doubles, make sure all constants are double-precision. Bryan A. Jones 2012-11-20 14:45:04 -06:00
  • e8d585b998 Merge pull request #12 from rryles/master John Van Enk 2012-11-19 08:35:17 -08:00
  • 56de50cf7f root: fix makefile to run testunity.out Vivek Ayer 2012-11-18 18:08:08 -08:00
  • 2ab2fef60a Array comparisons of floating point types fail if any values are NaN or infinite. Ross Ryles 2012-10-31 12:34:30 +00:00
  • 5853e24e1a Added _MESSAGE versions of asserts for floating point specials. Ross Ryles 2012-10-31 08:17:10 +00:00
  • b9b18bf547 Added new asserts to check for plus/minus infinity and NaN. Ross Ryles 2012-10-30 17:08:43 +00:00
  • b14819bc79 Expanded NaN and Infinity handling to doubles. Ross Ryles 2012-10-30 16:12:50 +00:00
  • 899f2f2fab UnityAssertFloatsWithin now fails any test where either a NaN or Infinite value is passed as expected or actual. Ross Ryles 2012-10-30 15:24:10 +00:00
  • ae18c560bd Added more tests for TEST_ASSERT_EQUAL_FLOAT with NaNs. Ross Ryles 2012-10-30 15:22:28 +00:00
  • 7b9b7d6ae2 Merge pull request #11 from rryles/master Mark VanderVoord 2012-10-30 03:53:14 -07:00
  • 5027763534 Fixed typo in comment. Ross Ryles 2012-10-30 09:29:54 +00:00
  • 83148364a5 Fix For Issue #10 - TEST_ASSERT_EQUAL_FLOAT doesn't fail if actual value is a NaN. Ross Ryles 2012-10-30 09:00:45 +00:00
  • 5b69868d4d Merge remote-tracking branch 'upstream/master' Alex Rodriguez 2012-10-04 11:52:10 -07:00
  • 4cc60dad9e Bump version. John Van Enk 2012-10-03 15:01:20 -04:00
  • a264e27f7c Switch up the testing strategy to handle funny architectural issues. John Van Enk 2012-10-03 14:17:07 -04:00
  • 6a15941956 Use a better message and change the test name. John Van Enk 2012-10-03 13:47:18 -04:00
  • d6779b76c4 Add test that will break if the _Unity struct ever changes. John Van Enk 2012-10-03 12:44:02 -04:00
  • aac87e01b4 Fully expand Unity struct. John Van Enk 2012-10-01 17:31:40 -04:00
  • 02e11c9bd0 adding test cases to complete the testing list Xiaochen Pan 2012-08-27 00:36:51 -04:00
  • 731e0f6b5f Bump version. v2.1.0 John Van Enk 2012-10-03 15:01:20 -04:00
  • aa78d0d500 Merge pull request 'expand_unity_initializer' John Van Enk 2012-10-03 14:37:15 -04:00
  • 541fb57a31 Switch up the testing strategy to handle funny architectural issues. John Van Enk 2012-10-03 14:17:07 -04:00
  • 4d7c539715 Merge pull request from 'panx/master'. John Van Enk 2012-10-03 14:00:28 -04:00
  • b1a991c6c3 Use a better message and change the test name. John Van Enk 2012-10-03 13:47:18 -04:00
  • aaddd1cd80 Add test that will break if the _Unity struct ever changes. John Van Enk 2012-10-03 12:44:02 -04:00
  • 3d1f3a5a00 Fully expand Unity struct. John Van Enk 2012-10-01 17:31:40 -04:00
  • 8661f3f281 Merge pull request #5 from wsp/master Greg Williams 2012-09-06 16:20:56 -07:00
  • 8152932fe7 Merge pull request #8 from alejmrm/fix_within_message Greg Williams 2012-09-06 16:19:14 -07:00
  • e95f662683 Fix issue \#7 INTx_WITHIN_MESSAGE() macro Alex Rodriguez 2012-08-28 15:06:09 -07:00
  • 51af84a727 adding test cases to complete the testing list Xiaochen Pan 2012-08-27 00:36:51 -04:00
  • c5ba747a24 Fix typos in unity_test_summary.rb usage statement. Scott Parrish 2012-08-17 22:51:21 -04:00
  • b7d9d007ce Merge branch 'master' of github.com:ThrowTheSwitch/Unity John Van Enk 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. Greg Williams 2012-02-13 08:44:04 -05:00
  • 91ea65ca12 - I've decided to automatically turn on 64-bit support if the pointers, ints, or longs require it. mvandervoord 2012-05-28 01:07:35 +00:00
  • 4ddc77efd6 - docs are now caught up to latest feature set mvandervoord 2012-05-27 23:37:56 +00:00
  • c4f0537c0c - changed the default handling to always include stdint unless told to exclude it. mvandervoord 2012-05-27 21:54:53 +00:00
  • dbdc603024 - further fixes to pointer auto-detect mvandervoord 2012-05-27 21:48:49 +00:00
  • c1b954eb9d - added size auto-detection support from limits.h - fixed error in _INT macro size guessing mvandervoord 2012-05-27 20:29:33 +00:00
  • 4742b5d77a Change gcc.yml default to gcc_32.yml (explicitly compile for 32-bit target) Scott Vokes 2012-04-27 11:53:12 -04:00
  • d0c3f24f4d If using UNITY_SUPPORT_64, UNITY_POINTER_WIDTH should default to 64 (not 32). Scott Vokes 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. Greg Williams 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 mvandervoord 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 mvandervoord 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 mvandervoord 2011-05-14 15:52:52 +00:00
  • 504bf2edee - fixed conditional self-tests - rolled in DOUBLE support from Mark Vismer (thanks!) mvandervoord 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. mvandervoord 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 mkarlesky 2011-04-27 04:36:26 +00:00
  • 9691acfb82 fixed forgotten includes mkarlesky 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 mvandervoord 2011-04-20 11:56:56 +00:00
  • 114755e200 - renamed parts of test hash used internally so ceedling can inject information more easily. mvandervoord 2011-04-17 23:01:26 +00:00
  • 39654f36e8 - separated generate step in test runner generator mvandervoord 2011-04-15 01:01:39 +00:00
  • 4e4046a897 - updated memory assert to be more verbose (and dropped memcmp) mvandervoord 2011-04-01 02:09:30 +00:00
  • bc1674df09 added some barely needed comments to UnitySizeMask mkarlesky 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 mvandervoord 2011-03-22 18:03:36 +00:00
  • 3d61357343 - updated fixture to match James' suggestions. mvandervoord 2011-03-09 02:05:05 +00:00
  • 3ef64ee047 - replacing non-universal method of masking word sizes mvandervoord 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 mkarlesky 2011-03-03 21:29:39 +00:00
  • e06aa48bca - fixed minor bug which was causing warnings on some compilers mvandervoord 2011-03-03 12:15:11 +00:00
  • a82bbbacf4 http://its-not-its.info mkarlesky 2011-02-18 03:51:55 +00:00
  • 02f12f7a4c - fixed pretty-printing error with small uint sizes - added a couple of user-submitted ports mvandervoord 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 mkarlesky 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) mvandervoord 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. mvandervoord 2011-01-24 12:57:50 +00:00
  • 3e472491c9 - added ability to parse fun characters like parenthesis in TEST_CASES - fixed TEST_CASE error mvandervoord 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 "" mvandervoord 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. mvandervoord 2011-01-14 00:54:12 +00:00
  • 0a0a5a6a04 updated release info files mkarlesky 2011-01-13 16:15:09 +00:00
  • e067b442a3 - updates to fixture in extras (submitted by James Grenning) mvandervoord 2011-01-04 20:08:32 +00:00
  • 4e4d4291d6 - updated documentation - parameterized tests now output parameters as part of message mvandervoord 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 mvandervoord 2010-12-27 17:33:08 +00:00
  • 6ae3084c72 - minor tweaks to work with latest gcc mvandervoord 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 mvandervoord 2010-12-01 01:56:24 +00:00
  • 5a6b8c405b - added a tweaked version of James Grenning's unity_fixture to extras mvandervoord 2010-11-29 22:53:57 +00:00
  • 962ce941df - caught up runner generator script tests mvandervoord 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. mvandervoord 2010-11-26 19:37:22 +00:00
  • f2ce354f99 - cleaned up test runner problems. again getting ready to support parameterized tests mvandervoord 2010-11-10 16:15:09 +00:00
  • 7ecafcbe5c - revert last change until I figure out what I screwed up mvandervoord 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 mvandervoord 2010-11-10 14:53:34 +00:00
  • d1bd6e29cc - dropped lf in output mvandervoord 2010-10-22 14:57:52 +00:00
  • 4f2de8c87e - now compat with Ruby 1.9.2 mvandervoord 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 mvandervoord 2010-10-14 12:21:16 +00:00
  • 33fa00d518 - added tests for generate_test_runner. other script tests to come mvandervoord 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 mvandervoord 2010-09-22 00:19:04 +00:00
  • b7564ce8a0 - reduced target file redundancies in Unity - fixed broken gcc makefile mvandervoord 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 mvandervoord 2010-09-10 12:15:05 +00:00
  • ab221162d3 - inlined '0x' printing in UnityPrintNumberHex to avoid unnecessary recursion mvandervoord 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) mvandervoord 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 mvandervoord 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 mvandervoord 2010-08-13 00:32:34 +00:00
  • 7ff6761ff1 added blank version and build number files mkarlesky 2010-07-31 18:49:22 +00:00
  • 4ab76a98ba - updated unity docs to match new version of TEST_FAIL macro mvandervoord 2010-07-31 16:27:57 +00:00
  • 8177f62867 made unity internally consistent with fail and ignore macros having/not having message parameters mkarlesky 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 mvandervoord 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 mvandervoord 2010-07-28 01:06:21 +00:00
  • 095af497b0 added cortex support mvandervoord 2010-07-18 18:48:25 +00:00
  • 4049959edc removed unnecessary function overhead introduced in previous commit mkarlesky 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) mkarlesky 2010-07-08 17:24:11 +00:00
  • fe4ce4166c - updating docs to match latest assertions and config options mvandervoord 2010-07-02 19:48:59 +00:00
  • a867d1f6bf - fixed some formatting - added a cast to reduce warnings mvandervoord 2010-06-24 19:16:48 +00:00