summaryrefslogtreecommitdiff
path: root/service/test.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-07 00:03:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-07 00:04:40 +0000
commit6fa901871df81cd8ecdc07d30ef1a20d8c7b1b1d (patch)
tree7b79dcde28aa9f190e6d28aa4e6634e7ddccf34e /service/test.cpp
parentWrap support for making unique ptrs from functions (diff)
downloadmirrorsearch-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.cpp1
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());
}