diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-07-06 21:07:07 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-07-10 16:03:41 +0100 |
commit | d5359b887175894df3d850b43e9dc86bc5f575fc (patch) | |
tree | a63934812ab7b4174cadc0013a5016cfa943d612 | |
parent | Add test case over SqlSource::modify (diff) | |
download | icetray-d5359b887175894df3d850b43e9dc86bc5f575fc.tar.bz2 icetray-d5359b887175894df3d850b43e9dc86bc5f575fc.tar.xz icetray-d5359b887175894df3d850b43e9dc86bc5f575fc.zip |
Add test calls to bind all the ICE types to a SQL command
-rw-r--r-- | icetray/unittests/testIceTrayServiceI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/icetray/unittests/testIceTrayServiceI.cpp b/icetray/unittests/testIceTrayServiceI.cpp index 5ab0fe4..6bea477 100644 --- a/icetray/unittests/testIceTrayServiceI.cpp +++ b/icetray/unittests/testIceTrayServiceI.cpp @@ -17,6 +17,10 @@ namespace TestIceTray { { fetch<int>(sql::subdir::some); fetch<int>(sql::subdir::a::more); + // Just check we can bind all the ICE types + fetch<int, Ice::Byte, bool>(sql::testIceTrayServiceTestSql, 1, true); + fetch<int, Ice::Short, Ice::Float>(sql::testIceTrayServiceTestSql, 1, 0.1f); + fetch<int, Ice::Long, Ice::Double>(sql::testIceTrayServiceTestSql, 100000, 3.14); } void TestIceTrayServiceI::method2(Ice::Int id, const std::string & name, const Ice::Current &) |