forked from PAWPAW-Mirror/lib_xua
Add test for returning an initialized Report descriptor
This commit is contained in:
@@ -10,3 +10,10 @@ void test_uninitialised_hidGetReportDescriptor()
|
|||||||
unsigned char* reportDescPtr = hidGetReportDescriptor();
|
unsigned char* reportDescPtr = hidGetReportDescriptor();
|
||||||
TEST_ASSERT_NULL( reportDescPtr );
|
TEST_ASSERT_NULL( reportDescPtr );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void test_initialised_hidGetReportDescriptor()
|
||||||
|
{
|
||||||
|
hidInitReportDescriptor();
|
||||||
|
unsigned char* reportDescPtr = hidGetReportDescriptor();
|
||||||
|
TEST_ASSERT_NOT_NULL( reportDescPtr );
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user