Hallo Everyone,
i am using ccsv5 on msp430f5438a.
i am making an application and i want to test the modules of this application, thats why i used embedded unit tool and i tried to build a project with this tool and it was successfully builded.
but i get this this warnig after buliding:
Multiple markers at this line
- Syntax error
- ProtocolTest.c, line 79
what does this mean? and how can i fix this warning or this syntax error.
here is a sample of the code:
static void test_Init_Protocol(void)
{
InitProt();
TEST_ASSERT_EQUAL_INT(protInstance.pdLength, 0);
TEST_ASSERT_EQUAL_INT(protInstance.byteCount, 0 );
TEST_ASSERT_EQUAL_INT(pdInstance.header, 0);
TEST_ASSERT_EQUAL_INT(pdInstance.length, 0);
TEST_ASSERT_EQUAL_INT(pdInstance.data[2], 0);
}
this warning is in every line which has the "TEST_ASSERT_EQUAL_INT()" macro.
Regards.
