[ncp] split ncp_base and rearrange declarations (#2045)

* split handlers into general, mtd, ftd and radio-only.
* move ChangedPropsSet into separate file.
* add Ncp namespace.
This commit is contained in:
Buke Po
2017-08-03 10:19:07 -07:00
committed by Jonathan Hui
parent 134e23695c
commit 818998e609
21 changed files with 7354 additions and 7068 deletions
+4 -2
View File
@@ -39,6 +39,7 @@
#include "test_util.h"
namespace ot {
namespace Ncp {
// This module implements unit-test for NcpFrameBuffer class.
@@ -1089,13 +1090,14 @@ void TestFuzzNcpFrameBuffer(void)
testFreeInstance(sInstance);
}
} // namespace Ncp
} // namespace ot
#ifdef ENABLE_TEST_MAIN
int main(void)
{
ot::TestNcpFrameBuffer();
ot::TestFuzzNcpFrameBuffer();
ot::Ncp::TestNcpFrameBuffer();
ot::Ncp::TestFuzzNcpFrameBuffer();
printf("\nAll tests passed.\n");
return 0;
}