1 //---------------------------------------------------------------------
2 // NOTICE - Transition to SCONS
3 //---------------------------------------------------------------------
5 The IoTivity build system is transitioning to SCONS. Although the
6 makefiles are still available (until v1.0) and some developers are
7 still using them, they are currently no longer supported. To learn more
8 about building using SCONS see Readme.scons.txt in the repository root
9 directory. The build steps used in continuous integration can be found
10 in auto_build.sh which is also in the the repository root directory.
12 //---------------------------------------------------------------------
14 tests.cpp contains unittests for C++ APIs. It uses Google Test for the unit
15 tests. Note that the unit tests are only to test the functionality of OCApi.h.
16 It is not a system or end-to-end test.
18 Unit Test Requirements:
20 1. To run the unit test, first build the unit tests with the following command
23 make -f buildScript.mk linux_ub_unittests
25 2. Run the unit test by issuing the following command from <oic-resource>: