Mark VanderVoord
96155881ed
- rework to not bother with any of the ever-changing test frameworks in Ruby (sigh) for self-testing
...
- started working on cleaner floating point support. more coming.
2014-07-21 14:00:53 -04:00
Mark VanderVoord
39cc60ce56
- support "weak" function definitions when available with compiler.
2014-07-08 12:14:26 -04:00
Mark VanderVoord
e83439528b
Make life easier for those creating their own runners:
...
* Add UNITY_BEGIN and UNITY_END macros to simplify usage
* Improve RUN_TEST to make line_num optional where possible
2014-07-01 10:13:45 -04:00
Mark VanderVoord
fe2c691e9d
Clean up many warnings. add clang_strict target to help uncover warnings
2014-05-22 13:43:52 -04:00
Mark VanderVoord
1cf02f8bf3
support cmock's need to destroy all of its memory at the end of the suite
2014-05-21 19:29:44 -04:00
Mark VanderVoord
124bfd8027
unity_fixture_internals.h should no be declaring functions without arguments. shame!
2014-04-21 18:08:34 -04:00
Mark VanderVoord
d4197dacd0
There was no reason that CMock init and destroy calls should be in the protected blocks. teardown is more flexible if verify is called afterwards.
2014-04-21 16:55:12 -04:00
Mark VanderVoord
a77f0308a7
Don't use any Ruby 1.9-only notation in the encoding call
2014-04-21 16:15:14 -04:00
Mark VanderVoord
651d24744d
Merge pull request #68 from toybuilder/master
...
fix parameter type for runAllTests to match header (Thanks toybuilder!)
2014-03-13 10:39:33 -04:00
toybuilder
bb729bdc3e
fix parameter type for runAllTests to match header
...
At least in Microchip XC8 compiler, void (*runAllTests)(void) is treated as a different type from void (*runAllTests)().
Fix the definition of UnityMain to match the declaration by making the runAllTests's (void) parameter list explicit.
2014-03-13 05:58:39 -07:00
Mark VanderVoord
06c2a3f7a6
Merge pull request #66 from ThrowTheSwitch/bug/print_styles
...
fixed format tags for u/int assertions
2014-03-07 15:36:49 -05:00
Mark VanderVoord
8f6f34f98a
fixed format tags for u/int assertions
2014-03-07 15:31:52 -05:00
Mark VanderVoord
4d2c2a5e82
Merge pull request #65 from ThrowTheSwitch/bug/init
...
Fixed initialization of data structure
2014-03-07 15:18:56 -05:00
Mark VanderVoord
f1c778e100
Fixed initialization of data structure by just doing it manually instead of statically (goodbye compiler warnings!)
2014-03-07 15:17:25 -05:00
Mark VanderVoord
291c2980e0
Merge pull request #62 from anthonyboorsma/master
...
fixed casts in UNITY_TEST_ASSERT_EQUAL_UINT*. (Thanks Anthony)
2014-03-07 14:47:26 -05:00
Mark VanderVoord
a3153610f3
Merge pull request #58 from ThrowTheSwitch/bug/double_handling
...
fixed double calls to actually use double handler instead of float handler
2014-03-07 14:08:04 -05:00
Mark VanderVoord
6a273e081c
Merge pull request #57 from ThrowTheSwitch/bug/encoding
...
Support different encoding styles and force to something we can work with
2014-03-07 14:07:30 -05:00
Anthony Boorsma
9ddfa74a7e
fixed casts in UNITY_TEST_ASSERT_EQUAL_UINT*. Was previously casting to signed variables and then sign extending the value before casting to final uint and was causing errorneous test failures when executed on arm target
2014-03-06 09:35:32 -05:00
Mark VanderVoord
9a393a28d5
Merge pull request #50 from uozuAho/master
...
Added more examples
2014-02-28 16:52:34 -05:00
Mark VanderVoord
8c5456059f
Merge pull request #34 from hoodja/master
...
Unknown CLI params get ignored
2014-02-28 16:42:35 -05:00
Mark VanderVoord
701ee5101d
fixed another double-float issue: make sure doubles are not both included and excluded.
2014-02-28 15:57:37 -05:00
Mark VanderVoord
bd0d5ecf29
more tweaks (cast to the right type)
2014-02-28 15:47:11 -05:00
Mark VanderVoord
60f0c1a8ae
fixed double calls to actually use double handler instead of float handler
2014-02-28 15:25:02 -05:00
Mark VanderVoord
d3c18c26ad
support different encoding styles and force to something we can work with.
2014-02-28 10:37:47 -05:00
Mark VanderVoord
aa36e5556b
Merge pull request #56 from holderbaum/master
...
Print an EOL before printing the TestResult while executing the spec (Thanks Jakob!)
2014-02-24 16:29:19 -05:00
Jakob Holderbaum
5fbc23e856
Print an EOL before printing the TestResult while executing the spec
...
By printing this newline, the filepath of the failing assertion does not get
preceded by the dot which represents a running test.
This gives the advantage, that the complete output of unity can be used as it is
with a makefile in vim. Every error gets displayed in the quickfix and you can
jump appropiately.
2014-02-16 11:13:38 +01:00
Mark VanderVoord
a18b894618
Merge pull request #55 from Jcarnage/master
...
Initial import of report parser.
2013-12-20 06:48:38 -08:00
unknown
5cdd6b6778
Initial import of report parser.
...
This parser will scan an output file, pull all Unity related tests and summarize them in a report to console or put them in an XML file for use with Jenkins
2013-12-20 07:59:47 -05:00
Warwick Stone
854b68b110
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
examples/example_3/makefile
2013-11-05 21:28:11 +11:00
Mark VanderVoord
d9ac0e1077
Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity
2013-09-22 12:53:21 -04:00
Mark VanderVoord
a8ad38b2e5
Merge pull request #37 from sdhawley/master
...
build on cygwin
2013-09-22 09:29:25 -07:00
Mark VanderVoord
3399bba27b
- merged in changes by TheGreenDroid to reduce Lint and Compiler warnings
2013-09-22 12:10:42 -04:00
Mark VanderVoord
72c55e0266
- Fixed script tests to match Shelly's changes
2013-09-22 11:53:48 -04:00
Mark VanderVoord
635884b08a
Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity
2013-09-22 11:40:02 -04:00
Mark VanderVoord
f5e2ed7648
Merge pull request #44 from shellyniz/master
...
copy include statements from test file to test runner (excluding cmock.h and unity.h) to better handle custom types in parameterized tests (Thanks Shelly)
2013-09-22 08:15:28 -07:00
Mark VanderVoord
ff1339ca5a
- Fixed a gcc warning when -Wall enabled. (Thanks gjcamann)
2013-09-22 10:58:36 -04:00
Mark VanderVoord
dddf13595d
Merge pull request #51 from canton7/feature/ptr-attribute
...
Allow pointer types to have an attribute (file under "stupid things we do to keep poor compilers happy")
2013-09-17 04:26:48 -07:00
Mark VanderVoord
79ea2883a9
Merge pull request #46 from canton7/feature/hex-array-test-fixes
...
Fix unit tests for TEST_ASSERT_EQUAL_HEX_ARRAY on 16-bit architectures (Thanks Antony!)
2013-09-17 04:19:10 -07:00
Antony Male
6dd44f23c9
Allow pointer types to have an attribute
...
Microchip's XC16 and friends, when used with dsPICs, require that all pointers
to memory which could possibly be in EDS space by adorned with __eds__, e.g.
__eds__ int* p_int
Adding the macro UNITY_PTR_ATTRIBUTE allows Unity's pointers to be decorated
with whatever ridiculous attributes the compiler requires.
2013-09-17 10:10:43 +01:00
Warwick Stone
e4727092e8
Added Eclipse error parsers
2013-09-05 19:12:26 +10:00
Warwick Stone
8ca802d4dc
Updated examples
...
* Renamed example x to example 3
2013-07-19 21:30:35 +10:00
Warwick Stone
d27699d97a
Updated examples
...
* Updated example 2 readme
* Broke up huge line in example 2 makefile
2013-07-17 23:27:25 +10:00
Warwick Stone
efc1df828f
Added example
...
* Added example that uses unity test fixture
2013-07-17 23:23:09 +10:00
Warwick Stone
1b9b197298
Added another example
...
* Simple makefile example, extracted from existing example
2013-07-17 22:48:50 +10:00
Warwick Stone
5932565bae
Updated example
...
* Moved existing example to its own directory, with the intention of adding more examples
* Existing example uses its own .yml file instead of one of the files in targets/.
2013-07-17 22:42:43 +10:00
Warwick Stone
843370a7c2
Updated example makefile
...
* Make would fail due to missing build directory. Now it doesn't try to delete build/
2013-07-17 22:14:47 +10:00
Mark VanderVoord
29812f3f5b
Merge pull request #49 from uozuAho/master
...
Fixed examples build error (rake)
2013-07-14 13:20:26 -07:00
Warwick Stone
53a5ae92c1
Updated examples rakefile
...
* Build directory created if it doesn't exist. This fixes a gcc "no such file or directory" error when running rake
2013-07-14 20:37:39 +10:00
Mark VanderVoord
6f49140354
Merge pull request #47 from canton7/feature/memory-array-test-fixes
...
Fix tests testing TEST_ASSERT_EQUAL_MEMORY_ARRAY on 16-bit platforms. (Thanks Antony!)
2013-06-28 04:50:42 -07:00
Mark VanderVoord
6bff2eb938
Merge pull request #45 from canton7/feature/16bitIntArrayEqual
...
Fix TEST_ASSERT_EQUAL_INT_ARRAY for int sizes other than 32 bits (Thanks Canton7)
2013-06-28 04:49:09 -07:00