Windows Unit Test Support (#629)

Window Unit Test Support
This commit is contained in:
Nick Banks
2016-09-20 18:11:19 -07:00
committed by Jonathan Hui
parent 4bd62977d4
commit 25cea9414b
19 changed files with 753 additions and 123 deletions
+2 -4
View File
@@ -36,10 +36,6 @@
static Thread::Crypto::MbedTls mbedtls;
extern"C" void otSignalTaskletPending(otInstance *)
{
}
void TestHmacSha256(void)
{
static const struct
@@ -80,9 +76,11 @@ void TestHmacSha256(void)
}
}
#ifdef ENABLE_TEST_MAIN
int main(void)
{
TestHmacSha256();
printf("All tests passed\n");
return 0;
}
#endif