Aviv Palivoda
e56378e437
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to fixture tests rakefile_helper.rb
2017-08-04 14:43:14 +03:00
Aviv Palivoda
ad373024f2
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to tests rakefile_helper.rb
2017-08-04 14:40:34 +03:00
Aviv Palivoda
b3de931d69
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to fixture tests Makefile defines
2017-08-01 23:36:13 +03:00
Aviv Palivoda
59182c4ea9
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to tests Makefile defines
2017-08-01 22:56:52 +03:00
Aviv Palivoda
a07d07cd1a
Allow specifying custom header declaration
...
The user can specify UNITY_OUTPUT_CHAR_HEADER_DECLARATION and
UNITY_OUTPUT_FLUSH_HEADER_DECLARATION when he would like to declare
UNITY_OUTPUT_CHAT or UNITY_OUTPUT_FLUSH respectivly
2017-08-01 22:43:58 +03:00
Mark VanderVoord
c1bc32dc58
- Generator will not change names by default
...
- Fixed some style issues.
2017-06-25 13:58:31 -04:00
Mark VanderVoord
3b69beaa58
Merge pull request #284 from rmja/patch-1
...
Fixed UNITY_TEST_ASSERT_EACH_EQUAL_*
2017-05-10 08:56:49 -04:00
Rasmus Melchior Jacobsen
aef36799d8
Fixed UNITY_TEST_ASSERT_EACH_EQUAL_*
...
Fixed copy-paste error for:
- UNITY_TEST_ASSERT_EACH_EQUAL_INT64
- UNITY_TEST_ASSERT_EACH_EQUAL_UINT64
- UNITY_TEST_ASSERT_EACH_EQUAL_HEX64
So that the comparison is done on the expected _value_ instead of the _array_.
2017-05-10 14:28:08 +02:00
Mark VanderVoord
f96c05532b
this is a minor release
v2.4.1
2017-04-25 08:17:37 -04:00
Mark VanderVoord
2c7629a0ae
Documentation Updates
2017-04-07 13:14:32 -04:00
Mark VanderVoord
b8bfb01edf
Add support for AStyle in test makefile. It’s going to assume you have it installed.
2017-03-29 19:23:12 -04:00
Mark VanderVoord
e36d8b5327
Merge pull request #276 from wolf99/pdf-to-markdown
...
Convert PDF docs to markdown (Thanks for all the work, @wolf99 !)
2017-03-29 10:29:11 -04:00
toby
1e4396745c
Add EACH_EQUAL changes
2017-03-29 15:09:01 +01:00
toby
e2cc67918d
Add newlines after headings for best practice, trim trailing spaces & convert sneaky incorrectly coded chars
...
blank newline after headins is apparently best practice according to http://stackoverflow.com/q/42953462/1292918
2017-03-29 15:01:23 +01:00
toby
192d5176f1
Remove PDFs
2017-03-29 15:01:23 +01:00
toby
c48f6c9420
Add Github Markdown versions of documents
...
Add GFM version of getting started guide PDF
Add GFM version of configuration guide PDF
Add GFM version of helper scripts guide PDF
Add GFM version of coding standard PDF
Add GFM version of assertions reference PDF
Change markdown used to italicise line. Switched to use asterisk markdown instead
2017-03-29 14:46:31 +01:00
Mark VanderVoord
2a5b24f7bf
Finished updating all Ruby scripts to match our coding standard. Woo!
2017-03-28 20:02:53 -04:00
Mark VanderVoord
3e0a7121fb
Started to flesh out rubocop settings for this project. Added rakefile tasks to do so. Updated first script to make it compliant.
2017-03-28 15:48:28 -04:00
Mark VanderVoord
23f9c16aaa
Another round of fixing things that the stylizer “corrected” for me.
2017-03-28 08:59:58 -04:00
Mark VanderVoord
3a6cca39c5
Fixed things that the stylizer “autocorrected” to wrong. ;)
2017-03-28 08:52:10 -04:00
Mark VanderVoord
3062c39725
Starting to enforce our coding style. The first step is that we’ve pulled in Rubocop to check out Ruby syntax. There is likely a bit of customization to do yet AND there is definitely that backlog of todo’s that we just told it to ignore.
2017-03-28 08:44:32 -04:00
Mark VanderVoord
550d58ba2d
Attempt to fix remaining issues with casting
2017-03-26 19:46:42 -04:00
Mark VanderVoord
ee038c248c
Ha! Forgot to add the correct comment style
2017-03-26 18:30:22 -04:00
Mark VanderVoord
d6b350874b
Clean up some const issues, particularly when moving between single and double pointers
2017-03-26 18:25:25 -04:00
Mark VanderVoord
4ffafce309
Finish updating documentation to match
2017-03-26 17:58:46 -04:00
Mark VanderVoord
083564b837
Update docs to also understand the new Each Equal handlers
2017-03-26 17:54:28 -04:00
Mark VanderVoord
0dddf498c2
also update strings to support each element of an array.
2017-03-21 23:57:15 -04:00
Mark VanderVoord
a11a13750d
Added memory each equal assertion
2017-03-21 18:28:49 -04:00
Mark VanderVoord
d8d67a708c
Added each_equal assertions for float and double
2017-03-21 17:05:19 -04:00
Mark VanderVoord
b7956ea988
Added more tests for all the numerical types when performing each_equal assertions
2017-03-21 16:24:16 -04:00
Mark VanderVoord
7fe31915d0
Added some tests to prove this works. Still work in progress
2017-03-21 14:37:52 -04:00
Mark VanderVoord
56eeacd0b2
prepare for comparing value to array by setting up explicit compare of array to array in ints
2017-03-21 08:00:48 -04:00
Mark VanderVoord
7b80885c68
Merge pull request #272 from FSMaxB/gcc43-wconversion
...
Fix -Wconversion with gcc-4.3
2017-03-20 16:36:43 -04:00
Mark VanderVoord
0781e74ac6
Add our coding standard to documentation
2017-03-20 16:29:40 -04:00
Mark VanderVoord
c3658a065d
Dropped support for pre-2.0 versions of Ruby (not even rubylang supports them anymore)
2017-03-20 16:07:40 -04:00
Mark VanderVoord
8a45ccf406
Use custom mock prefix when searching for mock header files. #263
2017-03-20 15:56:05 -04:00
Mark VanderVoord
689610b864
reorder includes in generated test runners
2017-03-20 15:49:28 -04:00
Mark VanderVoord
43c751173d
stdlib.h explicitly called in fixtures when malloc used, now. (Fixes issue #268 )
2017-03-20 14:09:26 -04:00
Max Bruckner
1c556d2e4c
Fix -Wconversion with gcc-4.3
2017-03-18 17:42:02 +01:00
Mark VanderVoord
8723d50f0e
Turn UNITY_OUTPUT_FLUSH off by default. Added a quick-define for the most common case: UNITY_USE_FLUSH_STDOUT. Clarified documentation. Fixes issue #269
2017-03-14 23:23:19 -04:00
Mark VanderVoord
c67a4ffcf3
- Add ability to detect TEST_FILE(“filename.c”) specifications in test files
2017-03-13 17:23:26 -04:00
Mark VanderVoord
41ee499e63
Tiny tweaks to make Unity fit in more smoothly with Ceedling
2017-03-13 16:46:41 -04:00
Mark VanderVoord
1f522558a6
Merge pull request #267 from FSMaxB/fix-wconversion
...
Fix gcc warning with ubsan and -Wconversion
2017-03-01 12:45:40 -05:00
Max Bruckner
7bce0b4f0c
Fix warning with ubsan and -Wconversion
...
This fixes a compiler warning about a lossy conversion from long
unsigned int to int when compiling unity with gcc 6.3.1 and
the options -std=c89 -Wconversion -fsanitize=undefined
2017-03-01 17:10:16 +01:00
Mark VanderVoord
b5da224fd8
Merge pull request #266 from FSMaxB/fix-double-promotion
...
Fix warnings with -Wdouble-promotion
2017-03-01 10:07:18 -05:00
Max Bruckner
1bf22d39f5
Fix warnings with -Wdouble-promotion
...
This fixes compiler warnings that clang produces with the
-Wdouble-promotion compiler option.
This only happens if double precision floating point numbers are
enabled.
The implicit double promotion occurs because numbers of type UNITY_FLOAT
are passed into UnityPrintFloat, which expects const UNITY_DOUBLE.
This commit fixes it by explicitly casting to UNITY_DOUBLE.
2017-03-01 10:15:06 +01:00
Mark VanderVoord
2988e980fb
Merge pull request #262 from codehearts/patch-2
...
Fixed incorrect TEST_PROTECT explanation in readme
2017-02-15 06:37:21 -05:00
Kate Hart
1732698324
Fixed incorrect TEST_PROTECT explanation in readme
2017-02-14 09:55:40 -08:00
Mark VanderVoord
381737538d
Merge pull request #260 from jeremyhannon/parseUnityFixtureOutputToJUnitFormat
...
Enhance parseOutput.rb to support Unity fixture output
2017-02-13 21:22:57 -05:00
Mark VanderVoord
9d5159f940
Merge pull request #261 from codehearts/patch-1
...
Fixed typo for TEST_PROTECT in readme
2017-02-13 21:20:22 -05:00