- 02 2月, 2016 2 次提交
-
-
由 Mark VanderVoord 提交于
Added support for mocks in sub-directories. (Thanks pmendham! This is helpful!)
-
由 Peter Mendham 提交于
feedback from @mvandervoord (Thanks).
-
- 29 1月, 2016 1 次提交
-
-
由 Peter Mendham 提交于
This supports mock headers of the form: #include "some/dir/MockMyCode.h" Where the mock name is actually MockMyCode. I *think* this is the most common scenario when working with mocks in subdirectories but if not this could be modified to support alternate schemes.
-
- 27 1月, 2016 2 次提交
-
-
由 Mark VanderVoord 提交于
Removed unecessary output when generating a test runner (Thanks pmendham!)
-
由 Peter Mendham 提交于
-
- 24 1月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Fixture rakefile has a conflict defining UNITY_OUTPUT_CHAR
-
- 20 1月, 2016 4 次提交
-
-
由 Mark VanderVoord 提交于
Two small changes to runner generation
-
由 Peter Mendham 提交于
Changed the guard syntax as it was cumbersome for header files in deep sub-directories. Added framework/mock includes to make the header file stand alone. Made sure that a valid prototype was generated in the case of no arguments (void).
-
由 Peter Mendham 提交于
This allows alternative entry points. This is intended for the integration of the unit test into a larger system or for it to be used with a platform/OS which requires an application entry point other than main. At the moment there is no way to change the type signature.
-
- 08 1月, 2016 2 次提交
-
-
由 Mark VanderVoord 提交于
Bugfix for UnityAssertNumbersWithin()
-
由 Mark VanderVoord 提交于
-
- 07 1月, 2016 5 次提交
-
-
由 Mark VanderVoord 提交于
Fixture - require spy or else ignore tests
-
由 Mark VanderVoord 提交于
Fix trailing whitespace CRLF, no code changes
-
由 jsalling 提交于
Make subtraction result unsigned, change prototype & casts in internals. If "actual - expected" overflowed, it wrapped to a negative number, but would fit in an unsigned type, example is INT_MAX - (-1) = INT_MIN For correctness, 'delta' should be unsigned too. Passing in a negative number always passed. The delta can be between INT_MAX & UINT_MAX.
-
由 jsalling 提交于
32 or 64 bit test will fail if compiled with -m32 or -m64, repectively on clang or gcc Fixes to the failures will follow
-
由 jsalling 提交于
Now that the project is using .gitattributes, get rid of CRLF in the repo.
-
- 06 1月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Add tests for printing numbers, interface for spying on output strings (Thanks! I like this idea!)
-
- 05 1月, 2016 3 次提交
-
-
由 Mark VanderVoord 提交于
- tweak docs
-
由 Mark VanderVoord 提交于
Refactor Fixture, no EOL with ignored tests, add a Makefile for Fixture tests
-
由 Mark VanderVoord 提交于
Fix printing of largest negative number
-
- 29 12月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
Include <stdio.h> (for sprintf) when using UNITY_FLOAT_VERBOSE (thanks pacheco017!)
-
由 Matias Devenuta 提交于
-
- 23 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Add CFLAGS in Fixture Makefile to catch C99 rules with '-pedantic'
-
- 22 12月, 2015 2 次提交
-
-
由 jsalling 提交于
Ignore tests that need the Spy if we are not building with it
-
由 jsalling 提交于
Updated clang and gcc targets. Fixed spelling of LIMITS, which breaks the gcc_auto_sizeof.yml build. Commented -Wunreachable-code, Unity won't build on OSX clang with it, error in unity.c:769 & 932: 'default: break;' case.
-
- 21 12月, 2015 1 次提交
-
-
由 jsalling 提交于
If Unity core is compiled with UNITY_OUTPUT_CHAR = putcharSpy, these tests will run, otherwise they are ignored and print a message Includes an implementation of putcharSpy, which allows checking the I/O from Unity during a test. Follows closely from the Fixture spy Tricky macros determine if putcharSpy is injected
-
- 19 12月, 2015 1 次提交
-
-
由 jsalling 提交于
No rake and ruby required to build existing tests
-
- 17 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Don't set CurrentTestFailed = 0 at end, move before last check These tests now fail if the output_Spy is not used instead of putchar()
-
- 16 12月, 2015 3 次提交
- 15 12月, 2015 1 次提交
-
-
由 jsalling 提交于
'divisor' ranges from 1 to 1e18, representable by a long or unsigned long 'number' becomes negative when cast as signed, so remove the cast and keep conversion warnings quiet by turning 'divisor' unsigned
-
- 11 12月, 2015 4 次提交
-
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
- Fixed a big ugly error in the fancy RUN_TEST handler
-
由 Mark VanderVoord 提交于
-
- 08 12月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
- Cleaned up a casting warning error - Removed a couple semicolons from the end of macros SHAME!
-
- 04 12月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 24 11月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
Move UNITY_PRINT_EOL to internals, change to function macro (Thanks, jsalling!)
-