Skip to content

Commit 16dbe27

Browse files
author
Mika Leppänen
committed
Added unit test stub for PAE controller
1 parent a524936 commit 16dbe27

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

test/nanostack/unittest/nwk_interface/protocol_core/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ TEST_SRC_FILES = \
3737
../../stub/thread_bootstrap_stub.c \
3838
../../stub/ws_bootstrap_stub.c \
3939
../../stub/ws_common_stub.c \
40+
../../stub/ws_pae_controller_stub.c \
4041
../../stub/mld_stub.c \
4142
../../stub/mpl_stub.c \
4243
../../stub/rpl_control_stub.c \
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright (c) 2018, Arm Limited and affiliates.
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
/*
18+
* Copyright (c) 2018, Arm Limited and affiliates.
19+
* SPDX-License-Identifier: Apache-2.0
20+
*
21+
* Licensed under the Apache License, Version 2.0 (the "License");
22+
* you may not use this file except in compliance with the License.
23+
* You may obtain a copy of the License at
24+
*
25+
* http://www.apache.org/licenses/LICENSE-2.0
26+
*
27+
* Unless required by applicable law or agreed to in writing, software
28+
* distributed under the License is distributed on an "AS IS" BASIS,
29+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30+
* See the License for the specific language governing permissions and
31+
* limitations under the License.
32+
*/
33+
34+
#include "nsconfig.h"
35+
#include "ns_types.h"
36+
#include "ns_trace.h"
37+
#include "net_interface.h"
38+
#include "eventOS_event.h"
39+
#include "NWK_INTERFACE/Include/protocol.h"
40+
#include "6LoWPAN/Bootstraps/protocol_6lowpan_interface.h"
41+
42+
void ws_pae_controller_timer(uint16_t ticks)
43+
{
44+
45+
}

0 commit comments

Comments
 (0)