mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-03 09:47:50 +00:00
* Added support for IAR Embedded Workbench v5.0
- Relocated example project in preparation for adding real CMock system test git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@47 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include "unity.h"
|
||||
#include "Types.h"
|
||||
#include "TimerHardware.h"
|
||||
#include "MockTimerConfigurator.h"
|
||||
|
||||
void setUp(void)
|
||||
{
|
||||
}
|
||||
|
||||
void tearDown(void)
|
||||
{
|
||||
}
|
||||
|
||||
void testInitShouldDelegateAppropriatelyToConfigurator(void)
|
||||
{
|
||||
Timer_EnablePeripheralClocks_Expect();
|
||||
Timer_Reset_Expect();
|
||||
Timer_ConfigureMode_Expect();
|
||||
Timer_ConfigurePeriod_Expect();
|
||||
Timer_EnableOutputPin_Expect();
|
||||
Timer_Enable_Expect();
|
||||
Timer_ConfigureInterruptHandler_Expect();
|
||||
Timer_Start_Expect();
|
||||
|
||||
TimerHardware_Init();
|
||||
}
|
||||
Reference in New Issue
Block a user