2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Contact: Kyungwook Tak <k.tak@samsung.com>
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License
18 * @file device_info_test.cc
19 * @author Kyungwook Tak (k.tak@samsung.com)
25 #include <boost/test/unit_test.hpp>
27 #include <device_info.h>
29 BOOST_AUTO_TEST_SUITE(DEVICE_INFO_TEST)
31 BOOST_AUTO_TEST_CASE(GET_DEVICE_ID)
33 const char *device_id = get_device_id();
35 BOOST_REQUIRE_MESSAGE(device_id != nullptr,
36 "device id from get_device_id shouldn't be null");
38 std::cout << "device id from get_device_id: "
39 << device_id << std::endl;
42 BOOST_AUTO_TEST_SUITE_END()