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
be765649f1
Some cleanup
2018-10-31 11:24:37 +01:00
7d2bf62b7e
Merge pull request #363 from Deltrix/patch-1
...
Changed some text issues (Thanks @Delrix)
2018-10-22 10:42:30 -04:00
01cbce870a
Changed some text issues
2018-10-22 15:32:22 +02:00
e4dfeaa14d
Merge pull request #362 from meslem12/patch-1
...
fixed compile error UNITY_PRINT_EXEC_TIME(). Thanks @meslem12 !
2018-10-18 22:58:40 -04:00
7cc3cf478b
fixed compile error UNITY_PRINT_EXEC_TIME()
2018-10-18 23:55:38 +02:00
e025b8cd1d
Merge pull request #359 from farrrb/fix-include-stddef
...
Issue #317 - unity.h should include <stddef.h>
2018-10-14 16:24:19 -04:00
e2e549a22f
Added include of 'stddef.h' to 'unity_internals.h' if 'UNITY_EXCLUDE_STDDEF_H' is not defined. This adds compiler independent support for the 'NULL' macro.
2018-10-14 14:11:22 +02:00
e0d52d1a79
fix uninitialzed value warning
2018-09-12 17:46:11 +02:00
bfd7828e66
Merge pull request #1 from ThrowTheSwitch/master
...
Get up to date
2018-09-07 14:10:47 +02:00
9987824da7
Added support to inject "extern C" into runners when generated.
2018-08-09 08:48:08 -04:00
031f3bbe45
Merge pull request #340 from elliot-gawthrop/unit-test-execution-time
...
Print execution time for each test when verbose mode enabled (Thanks @elliot-gawthrop, @shreyasbharath, and everyone who participated in this one!)
2018-08-08 08:24:46 -04:00
a6a35b78ae
Merge pull request #341 from Deryew/master
...
Fixed some grammar errors on docs (Thanks @Deryew !)
2018-08-08 07:05:47 -04:00
e72dfafd44
Fixed some grammar errors on docs
...
Fixed grammar errors and some sentences to make it easier to understand
2018-07-30 10:53:02 +08:00
fb4b139043
Fixed UNITY_EXEC_TIME_STOP macro ifdef
2018-07-28 20:14:00 +01:00
f0e4571c96
Merge branch 'master' into unit-test-execution-time
2018-07-28 20:01:50 +01:00
ccb7faf3bd
Merge pull request #338 from rstahn/bugfix-less-or-equal
...
Fix LESS_OR_EQUAL_MESSAGE asserts for HEX32/HEX64 (#337 )
2018-07-26 16:18:32 -04:00
18e4fbe2ae
Merge pull request #335 from rstahn/patch-1
...
Added notes on _MESSAGE assertions in UnityAssertionsReference.md
2018-07-26 09:12:11 -04:00
6a1d2e8d44
Fix LESS_OR_EQUAL_MESSAGE asserts for HEX32/HEX64
...
Macros TEST_ASSERT_LESS_OR_EQUAL_HEX32_MESSAGE() and TEST_ASSERT_LESS_OR_EQUAL_HEX64_MESSAGE() need to be mapped to UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEXnn() instead of UNITY_TEST_ASSERT_SMALLER_THAN_HEXnn()
2018-07-25 22:57:44 +02:00
ac3cde30f5
Added notes on _MESSAGE assertions ( #331 )
...
Added notes, why _MESSAGE assertions do not support printf style formatting and how users can work around this limitation (see #331 )
2018-07-21 16:57:53 +02:00
1f6c782040
Merge pull request #334 from Xenoamor/master
...
Flush unity output before a longjmp (Thanks! this is a good change)
2018-07-18 11:54:03 -04:00
2c5d09bf20
Flush unity output before a potential longjmp
...
Flush the unity stdout buffer before calling TEST_ABORT().
This is because if TEST_PROTECT() has not previously been called this will cause a segmentation fault and the stdout buffer will fail to print
Although the segmentation fault will still occur, the error that caused it will at least be displayed
2018-07-18 16:34:14 +01:00
40af5e23eb
Update travis to specify valid version of rubocop
2018-07-18 11:20:29 -04:00
199b13c099
Merge pull request #332 from trond-snekvik/mock_suffix_support
...
Add support for :mock_suffix
2018-06-07 06:49:28 -04:00
ceecf1fae8
Add support for :mock_suffix
...
Adds support for :mock_suffix when generating mock setup and teardown
functions. Also documents both prefix and suffix in the helper script
guide.
2018-06-07 10:06:43 +02:00
d915bf7ae5
Merge pull request #324 from farrrb/origin/fix-UNITY_OUTPUT_FLUSH
...
Re: Fix custom UNITY_OUTPUT_FLUSH and add tests #287
2018-05-03 07:32:17 -04:00
e2ee98e3d6
Merge pull request #325 from farrrb/fix-parse.rb
...
Bugfixes and refactoring in parse.rb (thanks @farrrb and @jeremyhannon )
2018-05-03 07:25:16 -04:00
38e1ee872c
Added some useful documentation which states the output formats that are parseable by this script.
2018-02-27 07:23:18 +01:00
1994bf9d68
Fixed unity fixture output and added methods for each of the different outputs. Added documentation.
...
Fixed some whitespaces.
Refactored class_name to class_name_idx (expressiveness).
Refactored the xml output to methods (extensibility).
2018-02-26 22:23:11 +01:00
7a43766586
- Fixed whitespaces and formatting
...
- Added more expressiveness to the code
- Fixed some of the rubocop hints
2018-02-22 21:47:21 +01:00
ea51e2b35c
Refactored the os specific settings, it is now possible to convert both styles on every system (and even mixed)
2018-02-22 21:23:29 +01:00
0937bf728c
- Removed member variable @test_flag
...
- Fixed stdout output if fixture is active
- Refactored the state manipulation of @test_suite and moved it completely into test_suite_verify()
2018-02-22 19:55:40 +01:00
e038ae2ade
Refactored the test evaluation of the flushSpy
2018-02-18 18:44:58 +01:00
436a46d8ef
Got the tests running
2018-02-18 17:43:08 +01:00
2480a6124e
Added unit test for the call to flush
2018-02-18 17:08:49 +01:00
5f67ac6ab2
Fixed copy and paste error, changed the signature from:
...
void flushSpy(int c) {}
to:
void flushSpy(void) {}
2018-02-18 16:32:04 +01:00
37271e8a13
Fixed copy and paste error
2018-02-18 14:53:39 +01:00
25804f3ab4
Added flushSpy and the respective helper functions
2018-02-18 14:46:42 +01:00
456759296b
Added flushSpy
2018-02-18 14:23:26 +01:00
fe950b9fa3
Makefile preparations
2018-02-18 14:11:19 +01:00
8efa8ffc62
Removed UNITY_OMIT_OUTPUT_FLUSH_HEADER_DECLARATION to simplify the behaviour
2018-02-18 13:57:34 +01:00
d9cd6988f3
Merge pull request #319 from farrrb/master
...
Some minor changes for parse_output.rb (Thanks @farrrb and @jeremyhannon !)
2018-02-15 07:49:20 -05:00
4dfb512a27
Added ".to_s" to the test suite name (explicit type conversion)
2018-02-12 06:44:26 +01:00
7a1157d6f6
Merge pull request #322 from jeremyhannon/misra19.10_v2
...
MISRA 19.10: surround each macro param with parens.
2018-02-11 08:25:13 -05:00
dc9c7a7b4b
Removed leading whitespace
2018-02-11 13:02:26 +01:00