mirror of https://github.com/ARMmbed/mbed-os.git
Fix SocketAddress unittests
Add ip4tos() and stoip4() into unittests. NOTE: Probably should have been stubbed but this way we can also test these helper functions.pull/8086/head
parent
920db63453
commit
7c6f1c38a8
|
@ -100,6 +100,7 @@ set(unittest-includes-base
|
|||
"${PROJECT_SOURCE_DIR}/../rtos/TARGET_CORTEX"
|
||||
"${PROJECT_SOURCE_DIR}/../rtos/TARGET_CORTEX/rtx5/Include"
|
||||
"${PROJECT_SOURCE_DIR}/../cmsis"
|
||||
"${PROJECT_SOURCE_DIR}/../features/frameworks/nanostack-libservice/mbed-client-libservice/"
|
||||
)
|
||||
|
||||
# Create a list for test suites.
|
||||
|
|
|
@ -10,6 +10,8 @@ set(unittest-sources
|
|||
../features/netsocket/SocketAddress.cpp
|
||||
../features/netsocket/NetworkStack.cpp
|
||||
../features/netsocket/InternetSocket.cpp
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/ip4tos.c
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/stoip4.c
|
||||
)
|
||||
|
||||
set(unittest-test-sources
|
||||
|
|
|
@ -10,6 +10,8 @@ set(unittest-sources
|
|||
../features/netsocket/SocketAddress.cpp
|
||||
../features/netsocket/InternetSocket.cpp
|
||||
../features/netsocket/TCPSocket.cpp
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/ip4tos.c
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/stoip4.c
|
||||
)
|
||||
|
||||
set(unittest-test-sources
|
||||
|
|
|
@ -11,6 +11,8 @@ set(unittest-sources
|
|||
../features/netsocket/NetworkStack.cpp
|
||||
../features/netsocket/InternetSocket.cpp
|
||||
../features/netsocket/UDPSocket.cpp
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/ip4tos.c
|
||||
../features/frameworks/nanostack-libservice/source/libip4string/stoip4.c
|
||||
)
|
||||
|
||||
set(unittest-test-sources
|
||||
|
|
Loading…
Reference in New Issue