generated from TDD-Templates/cmake_cpputest_template_avr
Mocking tests now passing after fixing param name.
This commit is contained in:
parent
60b83865cd
commit
c2ce883adb
|
@ -30,7 +30,7 @@ TEST_GROUP(test_MockADC)
|
||||||
TEST(test_MockADC, ADC_InitExpects)
|
TEST(test_MockADC, ADC_InitExpects)
|
||||||
{
|
{
|
||||||
mock().expectOneCall("ADC_Init")
|
mock().expectOneCall("ADC_Init")
|
||||||
.withUnsignedIntParameter("pin_num", 7);
|
.withUnsignedIntParameter("adc_chan", 7);
|
||||||
|
|
||||||
ADC_Init(7);
|
ADC_Init(7);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue