- 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.
-
- 26 2月, 2016 1 次提交
-
-
由 jsalling 提交于
This fixes #168. See that github.com issue for more discussion. Allows the tests to build when putchar() is defined as a macro with parenthesis around it, as in the ARM embedded gcc compiler.
-
- 25 2月, 2016 1 次提交
-
-
由 jsalling 提交于
-
- 24 2月, 2016 1 次提交
-
-
由 jsalling 提交于
Using gcc 4.8 on Ubuntu 14
-
- 18 2月, 2016 2 次提交
- 10 2月, 2016 4 次提交
-
-
由 jsalling 提交于
Comment out -Wconversion for now, since the build would fail
-
由 jsalling 提交于
These wrapper functions should be in Unity core if warranted. Use the Unity struct directly for access, or consider macro functions
-
由 jsalling 提交于
The old failure would print the line in unity_fixture.c, not very useful. Now using CurrentTestLineNumber, which is better.
-
由 jsalling 提交于
-
- 09 2月, 2016 2 次提交
- 06 2月, 2016 2 次提交
- 02 2月, 2016 1 次提交
-
-
由 jsalling 提交于
This feature removes the dependency on malloc/free for constrained embedded systems without a heap. It uses a static heap inside Unity Fixture. Setting UNITY_INTERNAL_HEAP_SIZE_BYTES sizes the heap. Add tests for new option, add targets to makefile for running tests. UNITY_FIXTURE_MALLOC for Fixture use only, remove from unity_output_Spy.c.
-
- 01 2月, 2016 2 次提交
- 31 1月, 2016 1 次提交
-
-
由 jsalling 提交于
For redefinition of UNITY_FIXTURE_MALLOC/...FREE use both or replace both. Clean up whitespace, remaining void*, and comment.
-
- 20 1月, 2016 2 次提交
- 16 1月, 2016 1 次提交
-
-
由 jsalling 提交于
Delete unused variables and empty functions Make setUp & tearDown (used in Unity core) optionally defined if 'weak' linking is present
-
- 07 1月, 2016 1 次提交
-
-
由 jsalling 提交于
Now that the project is using .gitattributes, get rid of CRLF in the repo.
-
- 23 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Add CFLAGS in Fixture Makefile to catch C99 rules with '-pedantic'
-
- 22 12月, 2015 1 次提交
-
-
由 jsalling 提交于
Ignore tests that need the Spy if we are not building with it
-
- 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 次提交
- 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 2 次提交
-
-
由 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)
-
- 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.
-
- 06 10月, 2015 1 次提交
-
-
由 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 8月, 2015 1 次提交
-
-
由 Mark VanderVoord 提交于
Output used headers from test runner generator
-
- 15 7月, 2015 2 次提交
-
-
由 Nimrod Zimerman 提交于
-
由 Nimrod Zimerman 提交于
Ignored tests are now correctly skipped if not selected by test name or by group name.
-
- 02 7月, 2015 1 次提交
-
-
由 Andrew Burks 提交于
-
- 01 7月, 2015 2 次提交
-
-
由 Andrew Burks 提交于
Fixes #116: Allow overrides of the Unity Fixture's memory functions. This enables custom heap implementations to be used with the Unity Fixture.
-
由 Andrew Burks 提交于
Fixes #3: unity_fixture tests don't build. unity.c and unity_fixture_malloc_overrides.h neglected to include <stddef.h> even though the reference 'size_t' and 'NULL'.
-