?????????????
???????????? ???????[ 2012/1/5 10:18:22 ] ????????
void test_ xxx_driver (void) // ????xxx????????
{
typedef struct _TEST_CASE // ????????????
{
UINT8* pBuf; //??д?????????
int len; //??д???????
STATUS result; // ????????OK??ERROR
} TESTCASE;
#define TEST_NUM 4 // ??????????
UINT8* rBuf;
TESTCASE testCase[TEST_NUM]={
{0??DATA_MAX_LEN+1??ERROR}?? // DATA_MAX_LEN??????д?????
{"a"??1??OK}??
{"12"??2??OK}??
{0??DATA_MAX_LEN??OK}
};
for (int i=0;i< TEST_NUM;i++)
{
if(write(testCase[i].pBuf??testCase[i].len) != testCase[i].result) // д????
LOG ("test write failed!");
if(read(rBuf??testCase[i].len) != testCase[i].result) // ??????
LOG ("test read failed! ");
if(bcmp(testCase[i].pBuf??rBuf??testCase[i].len) != 0) // ????д????
LOG ("compare data failed! ");
}
}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
App??С????H5?????????????????Щ???????????????????????????P-One ???????????????????????????????????????????????????????????????????????????????????????д?ò??????????????????????????????Щ??????????????????????????????????????????????????????????????APP????????????????????????????????????????5??????????????????????SQL?????в??????????Щ???????裿??γ????????????????????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44