1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-25 09:21:36 +01:00

* Updated frame to not require separate pointer initialization

* Updated test runner to protect teardown (just in case someone tries to put ASSERTS in their teardown function)

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@13 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2009-01-26 15:16:38 +00:00
parent be1c104dc0
commit 12289c3f52
4 changed files with 24 additions and 17 deletions

View File

@@ -5,14 +5,11 @@
#define EXPECT_ABORT_BEGIN \
{ \
jmp_buf NewFrame, *PrevFrame = Unity.pAbortFrame; \
Unity.pAbortFrame = &NewFrame; \
if (TEST_PROTECT()) \
{
#define EXPECT_ABORT_END \
} \
Unity.pAbortFrame = PrevFrame; \
}
void setUp(void)