summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/unittests/testUtils.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/libdbpp/unittests/testUtils.cpp b/libdbpp/unittests/testUtils.cpp
index 483f58b..0e90a94 100644
--- a/libdbpp/unittests/testUtils.cpp
+++ b/libdbpp/unittests/testUtils.cpp
@@ -395,13 +395,15 @@ BOOST_AUTO_TEST_CASE( testExtractTypes )
{
auto db = DB::MockDatabase::openConnectionTo("pqmock");
auto sel = db->select("SELECT 1 FROM forEachRow LIMIT 0");
- // testExtractT<int8_t>(sel);
- // testExtractT<int16_t>(sel);
- // testExtractT<int32_t>(sel);
+ testExtractT<int8_t>(sel);
+ testExtractT<int16_t>(sel);
+ testExtractT<int32_t>(sel);
testExtractT<int64_t>(sel);
testExtractT<bool>(sel);
testExtractT<std::string>(sel);
- // testExtractT<float>(sel);
+ testExtractT<std::string_view>(sel);
+ testExtractT<Glib::ustring>(sel);
+ testExtractT<float>(sel);
testExtractT<double>(sel);
testExtractT<boost::posix_time::ptime>(sel);
testExtractT<boost::posix_time::time_duration>(sel);