Skip to content

Commit d323c3a

Browse files
Yogesh PandeYogesh Pande
authored andcommitted
Fixing unit tests based on new coap library
1 parent d1a3d25 commit d323c3a

File tree

6 files changed

+4
-11
lines changed

6 files changed

+4
-11
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ override CFLAGS += -I$(SERVLIB_DIR)/libService/
2424
NANOSTACK_DIR := ../nanostack
2525
override CFLAGS += -I$(NANOSTACK_DIR)/nanostack/
2626

27-
NSDLC_DIR := ../nsdl-c
28-
override CFLAGS += -I$(NSDLC_DIR)/nsdl-c
29-
3027
COAP_DIR := ../libcoap
3128
override CFLAGS += -I$(COAP_DIR)/libcoap
3229

source/coap_service_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "ns_list.h"
1111
#include "ns_trace.h"
1212
#include "nsdynmemLIB.h"
13-
#include "sn_nsdl.h"
1413
#include "sn_coap_header.h"
1514
#include "coap_service_api.h"
1615
#include "coap_message_handler.h"

test/coap-service/unittest/makefile_defines.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ INCLUDE_DIRS =\
1515
../../../../yotta_modules/nanostack-randlib/mbed-client-randlib/ \
1616
../../../../yotta_modules/nanostack-libservice/ \
1717
../../../../yotta_modules/nanostack-libservice/mbed-client-libservice/ \
18-
../../../../yotta_modules/mbed-client-c/nsdl-c/ \
19-
../../../../yotta_modules/mbed-client-c/source/libCoap/src/include/ \
18+
../../../../yotta_modules/libcoap/libcoap/ \
19+
../../../../yotta_modules/libcoap/source/include/ \
2020
../../../../yotta_modules/sal-stack-nanostack-eventloop/nanostack-event-loop/ \
2121
../../../../yotta_modules/sal-stack-nanostack-eventloop/source/ \
2222
../../../../yotta_modules/mbed-trace/ \
2323
../../../../../nanostack/nanostack/\
2424
../../../../../libService/libService/\
25-
../../../../../nsdl-c/nsdl-c/\
26-
../../../../../nsdl-c/source/libCoap/src/include/\
25+
../../../../../libcoap/libcoap/\
26+
../../../../../libcoap/source/include/\
2727
../../../../../event-loop/nanostack-event-loop/\
2828
../../../../../event-loop/source/ \
2929
../../../../../mbedtls/include/ \

test/coap-service/unittest/stub/coap_service_api_stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include "ns_list.h"
99
#include "ns_trace.h"
1010
#include "nsdynmemLIB.h"
11-
#include "sn_nsdl.h"
1211
#include "sn_coap_header.h"
1312
#include "coap_service_api.h"
1413
#include "coap_message_handler.h"

test/coap-service/unittest/stub/sn_coap_parser_stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "ns_types.h"
15-
#include "sn_nsdl.h"
1615
#include "sn_coap_protocol.h"
1716
#include "sn_coap_parser_stub.h"
1817

test/coap-service/unittest/stub/sn_coap_protocol_stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#endif
1212

1313
#include "ns_types.h"
14-
#include "sn_nsdl.h"
1514
#include "sn_coap_protocol.h"
1615
#include "sn_coap_header_internal.h"
1716
#include "sn_coap_protocol_internal.h"

0 commit comments

Comments
 (0)