184 Commits

Author SHA1 Message Date
08b80dcbd1 added Gemfile 2013-02-14 09:04:33 -05:00
7846b50a0a Merge pull request #29 from bjones1/master
C89 patch for MS Visual Studio 2008 Express Edition
2013-01-11 11:54:56 -08:00
4817d78de3 Fix: Declare all variables before statements in a function.
Likewise, place all function prototypes before statements.
     These changes support Microsoft Visual Studio 2008 Express Edition,
       which follows C89-style rules.
2013-01-11 12:56:15 -06:00
cfc35610b4 Merge pull request #27 from bjones1/master
Fix: Corrected type of size in GuardBytes to be size_t, not int.
2013-01-09 19:49:45 -08:00
146dfa3b2d Fix: Corrected type of size in GuardBytes to be size_t, not int. 2013-01-09 09:54:29 -06:00
c3475a7397 Merge pull request #25 from malsyned/fixture_fixes
Updates to make Fixture more useful (thanks malsyned! It's nice that someone is helping out with the Fixtures extension!)
2013-01-09 05:10:34 -08:00
16290a5490 Merge pull request #23 from bjones1/master
Thanks, Bryan.  It's nice to have better documentation (Int config options, in this case)
2013-01-09 05:07:35 -08:00
47bf32edd6 Made unity_fixture IGNORE_TEST() respect the -v verbose flag.
More details here: http://forums.pragprog.com/forums/123/topics/10126
2012-12-21 16:07:49 -05:00
e21881c53f Fixed a unity_fixture bug that prevented IGNORE_TEST from properly counting ignored tests.
More details here: http://forums.pragprog.com/forums/123/topics/10126
2012-12-21 16:00:11 -05:00
601459a5c2 Fixed compilation warning in unity_fixture.c with optimization on.
More details here: http://forums.pragprog.com/forums/123/topics/10901
2012-12-21 15:32:29 -05:00
9d84912761 Ensured unity_fixture tests pass 2012-12-21 15:07:09 -05:00
bc251726b6 Add: Additional documentation for Unity configuration options. 2012-12-03 11:36:45 -06:00
c6c4c43ee3 Merge pull request #21 from bjones1/master
I love it when things are made clean! Bryan A Jones smooths out some wrinkles in WIDTH detection.
2012-11-29 18:38:27 -08:00
5b1e9818e2 Fix: Clean up UINTY_xxx_WIDTH detection.
Document failing approach (sizeof).
2012-11-29 15:34:09 -06:00
9c4d18d157 Merge pull request #18 from bjones1/master
Update tests on +/- infinity to work with MSVC++ 2008
2012-11-29 04:59:36 -08:00
f73c5fa606 Fix: - Modify tests to compile under MSVC++ EE 2008
- Change type of floating-point constants to single/double precision
       as appropriate.
2012-11-26 11:29:47 -06:00
97000e0104 - make test runner handle spaces and dashes in file names 2012-11-25 15:52:27 -05:00
292a6eac9e Merge pull request #17 from bjones1/master
Nice work, Bryan... thanks for the cleanup!
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.
2012-11-20 14:45:04 -06:00
e8d585b998 Merge pull request #12 from rryles/master
Improved support for special floating point values
2012-11-19 08:35:17 -08:00
2ab2fef60a Array comparisons of floating point types fail if any values are NaN or infinite. 2012-10-31 12:34:30 +00:00
5853e24e1a Added _MESSAGE versions of asserts for floating point specials. 2012-10-31 08:17:10 +00:00
b9b18bf547 Added new asserts to check for plus/minus infinity and NaN. 2012-10-30 17:08:43 +00:00
b14819bc79 Expanded NaN and Infinity handling to doubles. 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. 2012-10-30 16:00:00 +00:00
ae18c560bd Added more tests for TEST_ASSERT_EQUAL_FLOAT with NaNs. 2012-10-30 15:22:28 +00:00
7b9b7d6ae2 Merge pull request #11 from rryles/master
Fix For Issue #10 - Thanks Ross.  Nice simple solution.
2012-10-30 03:53:14 -07:00
5027763534 Fixed typo in comment. 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. 2012-10-30 09:00:45 +00:00
731e0f6b5f Bump version. v2.1.0 2012-10-03 15:01:20 -04:00
aa78d0d500 Merge pull request 'expand_unity_initializer' 2012-10-03 14:37:15 -04:00
541fb57a31 Switch up the testing strategy to handle funny architectural issues. 2012-10-03 14:17:07 -04:00
4d7c539715 Merge pull request from 'panx/master'. 2012-10-03 14:00:28 -04:00
b1a991c6c3 Use a better message and change the test name. 2012-10-03 13:47:18 -04:00
aaddd1cd80 Add test that will break if the _Unity struct ever changes. 2012-10-03 12:44:02 -04:00
3d1f3a5a00 Fully expand Unity struct. 2012-10-01 17:31:40 -04: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
51af84a727 adding test cases to complete the testing list 2012-08-27 00:36:51 -04: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