Newer
Older
mbed-os / UNITTESTS / features / cellular / framework / common / util / unittest.cmake
@Lari-Matias Orjala Lari-Matias Orjala on 27 Aug 2018 633 bytes Add unit testing framework

####################
# UNIT TESTS
####################

# Unit test suite name
set(TEST_SUITE_NAME "cellular_framework_common_util")

# Add test specific include paths
set(unittest-includes ${unittest-includes}
  features/cellular/framework/common/util
  ../features/cellular/framework/common
  ../features/frameworks/mbed-client-randlib/mbed-client-randlib
)

# Source files
set(unittest-sources
  ../features/cellular/framework/common/CellularUtil.cpp
)

# Test files
set(unittest-test-sources
  stubs/randLIB_stub.c
  features/cellular/framework/common/util/test_util.cpp
  features/cellular/framework/common/util/utiltest.cpp
)