diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-07 00:03:51 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-07 00:04:40 +0000 |
commit | 6fa901871df81cd8ecdc07d30ef1a20d8c7b1b1d (patch) | |
tree | 7b79dcde28aa9f190e6d28aa4e6634e7ddccf34e /service/test.cpp | |
parent | Wrap support for making unique ptrs from functions (diff) | |
download | mirrorsearch-6fa901871df81cd8ecdc07d30ef1a20d8c7b1b1d.tar.bz2 mirrorsearch-6fa901871df81cd8ecdc07d30ef1a20d8c7b1b1d.tar.xz mirrorsearch-6fa901871df81cd8ecdc07d30ef1a20d8c7b1b1d.zip |
Store parser flags in service config
Diffstat (limited to 'service/test.cpp')
-rw-r--r-- | service/test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/test.cpp b/service/test.cpp index 8b93cf8..979d43d 100644 --- a/service/test.cpp +++ b/service/test.cpp @@ -43,6 +43,7 @@ BOOST_AUTO_TEST_CASE(getServices) BOOST_CHECK_EQUAL(ss.front()->name, "file searching mock"); BOOST_CHECK_NE(ss.front()->baseurl, "file://$SCRIPTDIR/fixtures/filesearching/%s.html"); BOOST_CHECK_EQUAL(ss.front()->baseurl.substr(0, 8), "file:///"); + BOOST_CHECK_EQUAL(ss.front()->parserflags, 97); BOOST_CHECK(!ss.front()->listxpath.empty()); BOOST_CHECK(!ss.front()->urlxpath.empty()); } |