7514de0582
Merge branch 'master' into test-cleanup-gt-lt
2019-05-04 07:28:12 -04:00
93fbc3fbd0
Merge pull request #412 from art-of-dom/array-within
...
TEST_ASSERT_INT_ARRAY_WITHIN in unity
2019-04-20 15:31:58 -04:00
9340582797
ARRAY_WITHIN in unity
2019-04-20 14:10:56 -04:00
89465c88b0
Add tests for GREATER_OR_EQUAL, LESS_OR_EQUAL, LESS_THAN, and GREATER_THAN
2019-04-14 15:59:40 -04:00
f51e658e8a
Merge pull request #409 from art-of-dom/unity_fixture_colour_fix
...
Use Pass string from unity.c in unity_fixture.c to garuntee colour behavior
2019-04-13 14:57:28 -04:00
480d505cd7
Merge pull request #408 from art-of-dom/str-cmp-tests
...
Expliticly show test failures of unequal strings
2019-04-13 14:53:27 -04:00
0bd6bf7b2b
Use Pass string from unity.c in unity_fixture.c to garuntee colour behavior
2019-04-13 14:29:06 -04:00
f69fbe8a95
expliticly show test failures of unequal strings
2019-04-13 11:53:14 -04:00
8507757c6a
Merge pull request #401 from ty93/master
...
unity_test_summary.py recursive search for test files
2019-03-26 16:33:17 -04:00
aecc642594
recursive search for target test files in test summary python script
2019-03-26 17:32:30 +02:00
2663cb9d0d
Merge pull request #400 from art-of-dom/travis-fix
...
Fix travis config: Use ruby 2.3
2019-03-25 11:37:26 -04:00
6315c4c4c3
Fix travis config
2019-03-23 20:09:56 -04:00
49ffac33ec
Merge pull request #397 from AlexanderBrevig/fix_unary_minus_on_unsigned_warning
...
use unary minus on the incoming int instead of the casted uint
2019-03-11 22:35:02 -04:00
0dafa0b306
use unary minus on the incoming int instead of the casted uint
2019-03-12 00:17:37 +01:00
a78c799701
Merge pull request #391 from detly/master
...
Removed leading underscore from module generator header guards. (Thanks @detly !)
2019-02-21 17:07:10 -05:00
ead95b3ab8
Removed leading underscore from module generator header guards.
2019-02-22 08:38:29 +11:00
9ef1088eb7
Merge pull request #387 from farrrb/rework-operator-precedence
...
Added braces to avoid implementation solely based on operator precedence. (Thanks @farrrb ! I love cleanup like this!)
2019-01-30 15:48:50 -05:00
b723c9f250
Added braces to avoid implementation solely based on operator precedence.
2019-01-30 21:26:35 +01:00
d451148907
Merge pull request #386 from teaguecl/teaguecl_example1_bugfix
...
Fix error in example_1
2019-01-26 07:45:55 -05:00
bc2ab233ee
Fix error in example_1 and example_2
...
This test case had an error in both examples:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode
It was supposed to be a list of values that are NOT in the list,
and none of them should be found. It incorrectly included '1'
2019-01-25 21:51:25 -08:00
9d1ffe26d6
Fix error in example_1
...
This test case had an error:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode
It was supposed to be a list of values that are NOT in the list,
and none of them should be found. It incorrectly included '1'
which is a value in the list.
The compile option -Wno-misleading-indentation was also added to
remove a compiler warning produced by gcc 7.3.0
2019-01-25 21:22:55 -08:00
38c48704c5
Merge pull request #383 from farrrb/feature-printf
...
Feature printf (Thanks @farrrb !)
2019-01-25 06:09:20 -05:00
a6e9f85f71
Added examples for the configuration of UnityPrintFormatted and exclusion of <stddef.h>
2019-01-25 07:01:29 +01:00
69cebb5c30
Merge pull request #385 from bluca/c90
...
Make unity.c compatible with c90
2019-01-24 16:48:07 -05:00
5074a3d8b2
Make unity.c compatible with c90
...
Avoid declaring the loop variable inside the for statement to keep
compatibility with c90:
unity.c:1408: error: for' loop initial declaration used outside C99 mode
2019-01-24 21:44:34 +00:00
92a345b264
Added documentation and changed all the code examples to backtick (code) blocks.
2019-01-24 20:12:16 +01:00
4f8656f658
Added some documentation for the helper function.
2019-01-24 19:22:01 +01:00
95ccc6edc1
Changed the compiler switch behaviour for printf (default: disabled).
...
Macro UNITY_EXCLUDE_PRINT_FORMATTED changed to UNITY_INCLUDE_PRINT_FORMATTED.
Enable printf via "-DUNITY_INCLUDE_PRINT_FORMATTED" compiler option.
2019-01-24 18:42:51 +01:00
5918ee0cdf
Merge branch 'master' into feature-printf
...
# Conflicts:
# src/unity.c
2019-01-24 18:32:07 +01:00
a284984365
Merge pull request #382 from dpostorivo/ifndef-64-runner
...
Generate runner defines with #ifndef guards
2018-12-21 23:12:59 -05:00
516f7be045
generate runner defines with #ifndef guards
2018-12-21 22:37:11 -05:00
38d8263741
Merge pull request #380 from elliot-gawthrop/test-case-string
...
Add support for strings in TEST_CASE()
2018-12-11 06:56:47 -05:00
5db2a3dbd9
Add support for strings in TEST_CASE()
2018-12-10 20:53:27 +00:00
f433480f7f
Merge pull request #299 from jlindgren90/float-printing
...
Allow UnityPrintFloat() to print a 7th digit.
2018-11-28 15:27:37 -05:00
8e0f54d23b
Merge pull request #375 from jlindgren90/int-min-printing
...
Fix undefined behavior when printing INT_MIN/INT64_MIN. (Thanks @jlindgren90 !)
2018-11-28 15:23:03 -05:00
d09f4953ff
Fix another signed integer overflow.
2018-11-28 15:17:25 -05:00
8a77f48634
Fix undefined behavior when printing INT_MIN/INT64_MIN.
...
Negating the most-negative signed integer results in overflow, which
is undefined behavior. Fix this by casting to an unsigned type first
(unsigned overflow is well-defined as it uses modular arithmetic).
2018-11-28 14:45:23 -05:00
39fbd13cae
Merge branch 'master' into float-printing
2018-11-28 14:02:41 -05:00
58be52f088
Merge pull request #374 from jlindgren90/rubocop
...
Fix (most) Rubocop warnings. (Thanks @jlindgren90 !!!!)
2018-11-28 13:42:51 -05:00
5cd1c33b0e
Fix uninitialized constant
2018-11-28 13:36:27 -05:00
6b657c6f17
Fix (most) Rubocop warnings.
2018-11-28 13:27:00 -05:00
28bf7954f2
Merge pull request #364 from farrrb/fix-issue-360
...
Fixed an "array index out of bounds violation" in the examples. (Thanks @farrrb )
2018-11-14 06:17:38 -05:00
e8ba63cf7b
Merge pull request #370 from danyeaw/license-location
...
Move license for GitHub detection
2018-11-14 06:09:10 -05:00
100c73d37f
Move license for GitHub detection
2018-11-13 21:07:05 -05:00
eab9283a98
Merge pull request #353 from kykrueger/issue-#352-uninitialized-value-warning
...
Issue #352 uninitialized value warning
2018-11-07 09:22:46 -05:00
7dd21c333e
Fix unintended array overrun in example ( #360 . Thanks @quantum-leaps)
2018-11-02 07:42:47 -04:00
695dd04d53
Merge pull request #365 from Kochise/patch-2
...
Patch 2 (Thanks, @Kochise !)
2018-10-31 07:13:30 -04:00
27f631aaa8
Merge pull request #366 from Kochise/patch-1
...
Some cleanup (Thanks, @Kochise !)
2018-10-31 06:48:32 -04:00
50ce8a880a
Some cleanup
2018-10-31 11:41:44 +01:00
96127581a0
Some cleanup
2018-10-31 11:30:13 +01:00