summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-12 21:30:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-12 21:30:55 +0100
commitc097e8d4a0d69abcf28e421edc57e11f54040bae (patch)
tree50c42330490c5b4627eac064ca4c4ac1662a560a
parentAdd missing root name for dictionary types (diff)
downloadslicer-c097e8d4a0d69abcf28e421edc57e11f54040bae.tar.bz2
slicer-c097e8d4a0d69abcf28e421edc57e11f54040bae.tar.xz
slicer-c097e8d4a0d69abcf28e421edc57e11f54040bae.zip
Remove unused helpers
-rw-r--r--slicer/db/testSelect.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/slicer/db/testSelect.cpp b/slicer/db/testSelect.cpp
index 29ea5bc..7540529 100644
--- a/slicer/db/testSelect.cpp
+++ b/slicer/db/testSelect.cpp
@@ -20,18 +20,6 @@ BOOST_GLOBAL_FIXTURE( StandardMockDatabase );
typedef boost::shared_ptr<DB::Connection> DBPtr;
typedef boost::shared_ptr<DB::SelectCommand> SelectPtr;
-boost::posix_time::ptime
-mkDateTime(short y, short m, short d, short h, short M, short s)
-{
- return boost::posix_time::ptime(boost::gregorian::date(y, m, d), boost::posix_time::time_duration(h, M, s));
-}
-
-boost::posix_time::time_duration
-mkTimespan(short d, short h, short M, short s)
-{
- return boost::posix_time::time_duration((d * 24) + h, M, s);
-}
-
BOOST_AUTO_TEST_CASE( select_simple_int )
{
auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock"));