/* Copyright 2009, Felspar Co Ltd. http://fost.3.felspar.com/ Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt */ #include "fost-core-test.hpp" #include FSL_TEST_SUITE( settings ); FSL_TEST_FUNCTION( load_base_settings_file ) { try { FSL_CHECK(fostlib::setting::value( "Settings database tests", "Loaded base settings file" )); } catch ( fostlib::exceptions::exception &e ) { e.info() << L"This test will fail if you don't have a global FOST settings file.\n" L"This is at /etc/fost.conf on UNIX based systems and %windir% on Windows systems.\n" L"The file contents needs to include the following text:\n" L" [Settings database tests]\n" L" Loaded base settings file=true\n"; throw; } }