- 16 12月, 2015 3 次提交
- 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 提交于
-
- 29 10月, 2015 1 次提交
-
-
由 Andy Isaacson 提交于
The intent of UNITY_WEAK_PRAGMA is that we have weak symbols for setUp and tearDown in unity.o, so that developers can override these symbols if needed but the link works right if they are not defined. In order to do this using #pragma, the pragma and the definition of the function (not the declaration) need to be present in the same translation unit (source code file). Previously, the UNITY_WEAK_PRAGMA code was just declaring the setUp function, but not defining it, which means that developers had to add an empty setUp function to their tests in order to link.
-
- 28 10月, 2015 2 次提交
-
-
由 Andy Isaacson 提交于
-
由 Andy Isaacson 提交于
-
- 15 10月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
MISRA rule 19.10: parentheses around macro params
-
由 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.
-
- 06 10月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
unity_fixture: Make unity_free() NULL-safe
-
由 Gergely Nagy 提交于
At the start of unity_free(), check mem for NULL, and return immediately if it is, so we don't crash in this case. This mimics the behaviour of most free() implementations. Closes #135. Signed-off-by: NGergely Nagy <algernon@madhouse-project.org>
-
- 18 9月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
Fix custom message for 64bit WITHIN_MESSAGE macros (thanks Martyn)
-
由 Martyn Jago 提交于
-
- 18 8月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
Output used headers from test runner generator
-
- 03 8月, 2015 2 次提交
-
-
由 Mark VanderVoord 提交于
Fixes compiler warning about comparison of signed/unsigned
-
由 Alexander Mueller 提交于
-
- 29 7月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
"usage" output to show .py ext instead of .rb
-
- 27 7月, 2015 1 次提交
-
-
由 ¯\_(ツ)_/¯ 提交于
since this is a python port of "unity_test_summary.rb" the console usage output should say "unity_test_summary.py" instead
-
- 22 7月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
the test runner generator now has the ability to also output a header file for the tests, which can get pulled into the test itself if desired.
-
- 21 7月, 2015 4 次提交
-
-
由 Mark VanderVoord 提交于
protect against capturing both declaration and definitions and therefore creating a runner which runs that test twice.
-
由 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.
-
由 Mark VanderVoord 提交于
-
由 Mark VanderVoord 提交于
-
- 15 7月, 2015 3 次提交
-
-
由 Mark VanderVoord 提交于
Added back TEST_ASSERT_EQUAL_STRING_MESSAGE() which was (accidentally?) removed some time ago.
-
由 Mark VanderVoord 提交于
Use UNITY_PTR_ATTRIBUTE() in one place where it was (accidentally?) not used.
-
由 Nimrod Zimerman 提交于
-