1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # @file CMakeLists.txt
16 # @author Krzysztof Jackiewicz (k.jackiewicz@samsung.com)
24 # Define all DPL tests sources.
25 # Runner is responsible for runnint it all and
26 # generating proper output files
29 SET(TARGET_NAME "wrt-commons-tests-core")
31 # Set DPL tests sources
32 SET(DPL_TESTS_CORE_SOURCES
33 ${TESTS_DIR}/core/main.cpp
34 ${TESTS_DIR}/core/test_address.cpp
35 ${TESTS_DIR}/core/test_binary_queue.cpp
36 ${TESTS_DIR}/core/test_foreach.cpp
37 ${TESTS_DIR}/core/test_fast_delegate.cpp
38 ${TESTS_DIR}/core/test_log_unhandled_exception.cpp
39 ${TESTS_DIR}/core/test_once.cpp
40 ${TESTS_DIR}/core/test_serialization.cpp
41 ${TESTS_DIR}/core/test_scoped_array.cpp
42 ${TESTS_DIR}/core/test_scoped_close.cpp
43 ${TESTS_DIR}/core/test_scoped_fclose.cpp
44 ${TESTS_DIR}/core/test_scoped_free.cpp
45 ${TESTS_DIR}/core/test_scoped_ptr.cpp
46 ${TESTS_DIR}/core/test_semaphore.cpp
47 ${TESTS_DIR}/core/test_shared_ptr.cpp
48 ${TESTS_DIR}/core/test_static_block.cpp
49 ${TESTS_DIR}/core/test_string.cpp
50 ${TESTS_DIR}/core/test_thread.cpp
51 ${TESTS_DIR}/core/test_type_list.cpp
52 ${TESTS_DIR}/core/test_zip_input.cpp
55 WRT_TEST_ADD_INTERNAL_DEPENDENCIES(${TARGET_NAME} ${TARGET_DPL_EFL})
56 WRT_TEST_BUILD(${TARGET_NAME} ${DPL_TESTS_CORE_SOURCES})
57 WRT_TEST_INSTALL(${TARGET_NAME})
60 ${TESTS_DIR}/core/data/sample.zip
61 DESTINATION /opt/share/wrt/wrt-commons/tests/core