Removed dead code from SimpleUI
[profile/tv/apps/web/browser.git] / unit_tests / ut_main.cpp
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #include <boost/test/included/unit_test.hpp>
18 #include "ServiceManager.h"
19 #define BOOST_TEST_NO_MAIN
20
21 ::boost::unit_test::test_suite* init_unit_test_suite(int , char** )
22 {
23         //#ifndef NDEBUG
24         //Initialization of logger module
25         tizen_browser::logger::Logger::getInstance().init();
26         tizen_browser::logger::Logger::getInstance().setLogTag("browser");
27         //#endif
28         using namespace ::boost::unit_test;
29         assign_op(framework::master_test_suite().p_name.value, BOOST_TEST_STRINGIZE(BOOST_TEST_MODULE).trim("\""), 0);
30
31         return 0;
32 }
33
34 //int main(int argc, char * argv[]) { return ::boost::unit_test::unit_test_main( &init_unit_test_suite, argc, argv ); }