mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 14:17:47 +00:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user