summaryrefslogtreecommitdiff
path: root/libmysqlpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:15:50 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:15:50 +0100
commitc883f62d87b7f6fa71bb64c060e25df8bf9d4210 (patch)
tree4652c8a52e2c02c2c4ead05f8c956450433150ad /libmysqlpp/unittests
parentMySQL mocking and tests from Project2 (diff)
downloadlibdbpp-mysql-0.9.tar.bz2
libdbpp-mysql-0.9.tar.xz
libdbpp-mysql-0.9.zip
Install rules and use system dbpplibdbpp-mysql-0.9
Diffstat (limited to 'libmysqlpp/unittests')
-rw-r--r--libmysqlpp/unittests/Jamfile.jam7
-rw-r--r--libmysqlpp/unittests/testmysql.cpp6
2 files changed, 9 insertions, 4 deletions
diff --git a/libmysqlpp/unittests/Jamfile.jam b/libmysqlpp/unittests/Jamfile.jam
index 3e7b030..ed3e78e 100644
--- a/libmysqlpp/unittests/Jamfile.jam
+++ b/libmysqlpp/unittests/Jamfile.jam
@@ -3,6 +3,9 @@ import testing ;
path-constant me : . ;
lib boost_utf : : <name>boost_unit_test_framework ;
+lib boost_filesystem ;
+lib boost_system ;
+lib dbpptestcore : : : : <include>/usr/include/dbpp ;
run
testmysql.cpp
@@ -10,8 +13,10 @@ run
<define>ROOT=\"$(me)\"
<define>BOOST_TEST_DYN_LINK
<library>..//dbpp-mysql
- <library>../../libdbpp//dbpptestcore
+ <library>dbpptestcore
<library>boost_utf
+ <library>boost_system
+ <library>boost_filesystem
:
testmysql
;
diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp
index 6e915c0..bcbe528 100644
--- a/libmysqlpp/unittests/testmysql.cpp
+++ b/libmysqlpp/unittests/testmysql.cpp
@@ -3,9 +3,9 @@
#include <mock.h>
#include <definedDirs.h>
-#include <modifycommand.h>
-#include <selectcommand.h>
-#include <column.h>
+#include <dbpp/modifycommand.h>
+#include <dbpp/selectcommand.h>
+#include <dbpp/column.h>
#include <testCore.h>
#include <fstream>
#include <boost/date_time/posix_time/posix_time.hpp>