Skip to content

Commit

Permalink
Add new function to unit tests
Browse files Browse the repository at this point in the history
Add arm_nwk_sleepy_device_parent_buffer_size_set to unit tests.
  • Loading branch information
Arto Kinnunen committed Feb 8, 2018
1 parent 56f66a4 commit 8d3bcb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/nanostack/unittest/libNET/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ TEST_SRC_FILES = \
test_net.c \
../../stub/mbed_trace_stub.c \
../../stub/ns_list_stub.c \
../../stub/net_stub.c \
../../stub/protocol_core_stub.c \
../../stub/rpl_control_stub.c \
../../stub/address_stub.c \
Expand Down
5 changes: 5 additions & 0 deletions test/nanostack/unittest/stub/net_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,8 @@ void arm_print_routing_table(void)
void arm_ncache_flush(void)
{
}

int arm_nwk_sleepy_device_parent_buffer_size_set(int8_t interface_id, uint16_t big_packet_threshold, uint16_t small_packets_per_child_count, uint16_t big_packets_total_count)
{
return 0;
}

0 comments on commit 8d3bcb7

Please sign in to comment.