- 20 1月, 2016 3 次提交
-
-
由 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 4 次提交
-
-
由 Mark VanderVoord 提交于
Move UNITY_PRINT_EOL to internals, change to function macro (Thanks, jsalling!)
-
由 jsalling 提交于
This helps clarity and is more obvious, it looks like a print function
-
由 jsalling 提交于
Delete the { ;} braces and semicolon from UNITY_PRINT_EOL to give it expected behavior: 1) requires a semicolon 2) works in one-liner if-else statements If you need "\r\n" for EOL, define as the following to get the same behavior: do{UNITY_OUTPUT_CHAR('\r'); UNITY_OUTPUT_CHAR('\n');}while(0)
-
由 jsalling 提交于
Unity fixture needs access to this macro to be consistent. Add #ifndef wrapper for easier redefinition on systems that use "\r\n".
-
- 13 11月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
We're going to use the C99 isinf() and isnan() macros wherever possible now. If your compiler doesn't support this, define UNITY_EXCLUDE_MATH_H and it will go back to the old method
-
由 Mark VanderVoord 提交于
Fix some C++ compatibility issues
-
- 11 11月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
docs: fix some typos
-
- 10 11月, 2015 1 次提交
-
-
由 Paul Wilkinson 提交于
-