/* ========================================== Unity Project - A Test Framework for C Copyright (c) 2007-14 Mike Karlesky, Mark VanderVoord, Greg Williams [Released under MIT License. Please refer to license.txt for details]========================================== */#ifndef UNITY_SETUP_H#define UNITY_SETUP_H#include "unity_internals.h"/* On some platforms (MinGW for example), weak function implementations * need to be in the same translation unit they are called from. This * header can be included to provide implementations of setUp(), tearDown(), * suiteSetUp(), and suiteTearDown(). */#if defined(UNITY_WEAK_ATTRIBUTE)UNITY_WEAK_ATTRIBUTEvoidsetUp(void){}UNITY_WEAK_ATTRIBUTEvoidtearDown(void){}UNITY_WEAK_ATTRIBUTEvoidsuiteSetUp(void){}UNITY_WEAK_ATTRIBUTEintsuiteTearDown(intnum_failures){returnnum_failures;}#elif defined(UNITY_WEAK_PRAGMA)#pragma weak setUpvoidsetUp(void){}#pragma weak tearDownvoidtearDown(void){}#pragma weak suiteSetUpvoidsuiteSetUp(void){}#pragma weak suiteTearDownintsuiteTearDown(intnum_failures){returnnum_failures;}#endif#endif