- 30 12月, 2016 1 次提交
-
- 29 11月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Revised internal type naming scheme to better sandbox Unity away from everything else. Sure, short was nice, but not at the expense of naming collisions.
-
- 20 11月, 2016 1 次提交
-
-
由 jsalling 提交于
Remove UNITY_FLOAT_VERBOSE entirely, add option UNITY_EXCLUDE_FLOAT_PRINT Remove some questionable float casts from doubles Default to Round Ties to Even behavior, add option to Round Ties Away from Zero
-
- 28 8月, 2016 2 次提交
- 25 8月, 2016 2 次提交
- 13 7月, 2016 1 次提交
-
-
由 Daniel Murdin 提交于
Change-Id: I901bf192d3c06457d67c6d3a64bdb9aea22c53c2
-
- 27 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 22 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
Script verification hasn't been added yet.
-
- 21 6月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 15 5月, 2016 1 次提交
-
-
由 Andrzej Bieniek 提交于
-
- 06 5月, 2016 1 次提交
-
-
由 Mark VanderVoord 提交于
add UNITY_OUTPUT_FLUSH to make sure we get the output we need on aborted tests and whatnot.
-
- 25 4月, 2016 2 次提交
-
-
由 jsalling 提交于
This solves the warnings from -Wredundant-decls when overriding the OUTPUT function with a function declared in another header. It's better this is the non-default option, since using it requires either a declaration of the new function OR a preprocessor guard on declaring UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function. See Pull Request #185 for more.
-
由 jsalling 提交于
These were aimed at preventing the internals header from declaring a prototype for 'int UNITY_OUTPUT_CHAR(int);'. The second part fixed an omitted declaration in the tests caused by the first commit. Will replace the default behavior & add an option for this in next commit
-
- 13 4月, 2016 1 次提交
-
-
由 Jerry Jacobs 提交于
-
- 03 3月, 2016 1 次提交
-
-
由 jsalling 提交于
Revert the previous commit. Add tests for extended enum cases. Fix crash due to accessing 'trait_names' array out of bounds. Adding an extra invalid value to the end of an enum causes '-Wswitch' flag to warn unless there is a switch default case - also enabled by '-Wall'.
-
- 27 2月, 2016 1 次提交
-
-
由 jsalling 提交于
Add extern UnityFixture in internals header. Add C89 target in Makefile clang will show these warnings but can suppress "//" with -Wno-comment.
-
- 07 1月, 2016 2 次提交
-
-
由 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 提交于
Now that the project is using .gitattributes, get rid of CRLF in the repo.
-
- 11 12月, 2015 3 次提交
-
-
由 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!
-
- 24 11月, 2015 3 次提交
-
-
由 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 1 次提交
-
-
由 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
-
- 15 10月, 2015 1 次提交
-
-
由 Jeremy Hannon 提交于
Added parentheses around all macro parameters to resolve MISRA 2004 rule 19.10, "in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis" as tested with the IAR EW for 8051 compiler, version 9.20.2. The only questionable change is in "unity_fixture.h" where the nested macro DECLARE_TEST_CASE in RUN_TEST_CASE prevents surrounding params "group" and "name" with parentheses. However, it appears that macro DECLARE_TEST_CASE isn't used elsewhere, so I eliminated DECLARE_TEST_CASE and put its expansion directly in RUN_TEST_CASE. Now the following header files pass rule 19.10: * unity.h * unity_internals.h * unity_fixture.h For my own project, this change to the Unity test framework allows me to include my unit test code to be tested against MISRA rules as well, instead of just production code, to help enforce style and team guidelines.
-
- 18 9月, 2015 1 次提交
-
-
由 Martyn Jago 提交于
-
- 21 7月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
INTPTR_MAX is defined as nothing on some targets (looking at you HP-UX) and therefore these lines would crash. Adding 0 to the check makes these lines always run.
-
- 19 6月, 2015 1 次提交
-
-
由 ThingamaByte, LLC 提交于
-
- 23 4月, 2015 1 次提交
-
-
由 Eivind Tagseth 提交于
Compares two strings until maximum n bytes (i.e. strncmp()).
-
- 16 12月, 2014 1 次提交
-
-
由 Zane D. Purvis 提交于
- `UNITY_WEAK_ATTRIBUTE`, if defined, is placed before declarations of weakly linked symbols. If not manually defined, it will be automatically set to `__attribute__((weak))` on GCC and Clang, except for Clang for Win32. - `UNITY_WEAK_PRAGMA`, if defined, will cause preprocessor to emit `#pragma weak setUp`, etc. Ignored if `UNITY_WEAK_ATTRIBUTE` is defined. - `UNITY_NO_WEAK` undefines both of the above resulting in no weakly linked symbols. Work around for ThrowTheSwitch/Unity#93
-
- 27 10月, 2014 1 次提交
-
-
由 Mark VanderVoord 提交于
reworked character strings to be an array type so that storage classes are handled better for picky compilers.
-
- 25 10月, 2014 1 次提交
-
-
由 Mark VanderVoord 提交于
-
- 31 7月, 2014 1 次提交
-
-
由 Mark VanderVoord 提交于
support tests named spec as well. clean up UnityBegin to make us not have to dig inside it to inject the filename. Add UNITY_OUTPUT_START() and UNITY_OUTPUT_COMPLETE() for future use.
-
- 30 7月, 2014 3 次提交
-
-
由 Mark VanderVoord 提交于
rearranged project to centralize all self-test stuff under test directory. only pull in includes when required.
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
redirect UNITY_POINTER_WIDTH to define at last catchable moment. Update older gcc targets to be fully explicit.
-