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
@@ -35,10 +35,6 @@
static Thread::Crypto::MbedTls mbedtls;
extern"C" void otSignalTaskletPending(otInstance *)
{
}
/**
* Verifies test vectors from IEEE 802.15.4-2006 Annex C Section C.2.1
*/
@@ -233,6 +229,7 @@ void TestMacCommandFrame()
"TestMacCommandFrame decrypt failed\n");
}
#ifdef ENABLE_TEST_MAIN
int main(void)
{
TestMacBeaconFrame();
@@ -241,3 +238,4 @@ int main(void)
printf("All tests passed\n");
return 0;
}
#endif