19 #include <boost/test/unit_test.hpp>
25 BOOST_AUTO_TEST_SUITE(common)
30 int& argc = boost::unit_test::framework::master_test_suite().argc;
31 char**& argv = boost::unit_test::framework::master_test_suite().argv;
33 BOOST_REQUIRE(argc >= 1);
46 BOOST_CHECK(boost::filesystem::exists(directoryTree.
getRelativePath()));
47 BOOST_CHECK(boost::filesystem::exists(directoryTree.
getWorkingPath()));
49 BOOST_CHECK(boost::filesystem::exists(directoryTree.
getDevicesPath()));
50 BOOST_CHECK(boost::filesystem::exists(directoryTree.
getLogPath()));
53 BOOST_AUTO_TEST_SUITE_END()
static const boost::filesystem::path & getDevicesPath(void)
Returns the absolute path to the family and device database directory.
static const boost::filesystem::path & getLogPath(void)
Returns the absolute path to the log files directory.
Header for the DirectoryTree class.
BOOST_AUTO_TEST_CASE(AnnotatedUnitTest)
Unit test for the Annotated class.
Encapsulation of filesystem paths that are used by the library.
static const boost::filesystem::path & getRelativePath(void)
Returns the relative path from the working directory to the executable home.
static const boost::filesystem::path & getWorkingPath(void)
Returns the absolute path to the working directory.
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.