cleaned up order of inclusion and testability

git-svn-id: http://cexception.svn.sourceforge.net/svnroot/cexception/trunk@3 50f63946-2846-0410-8d77-f904c773002e
This commit is contained in:
mvandervoord
2008-11-24 18:37:34 +00:00
parent fecd94cb5c
commit 7044cfe1a8
6 changed files with 73 additions and 68 deletions
+1 -4
View File
@@ -1,9 +1,6 @@
/* AUTOGENERATED FILE. DO NOT EDIT. */
#include "unity.h"
#include "Exception.h"
#include <setjmp.h>
jmp_buf AbortFrame;
extern void setUp(void);
extern void tearDown(void);
@@ -21,7 +18,7 @@ extern void test_CanThrowADetailedExceptionAndCheckOutTheResults(void);
static void runTest(UnityTestFunction test)
{
if (setjmp(AbortFrame) == 0)
if (TEST_PROTECT())
{
setUp();
Try