mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-10-31 03:26:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user