diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 19:26:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-10 19:26:42 +0000 |
commit | e23be5559bf3d07305b48fba429343d6e9d8069a (patch) | |
tree | 5c497fa4e59d8d19060509124f2f689bc37a59e0 | |
parent | Bump sqlite module (diff) | |
download | libdbpp-e23be5559bf3d07305b48fba429343d6e9d8069a.tar.bz2 libdbpp-e23be5559bf3d07305b48fba429343d6e9d8069a.tar.xz libdbpp-e23be5559bf3d07305b48fba429343d6e9d8069a.zip |
Use test values
-rw-r--r-- | libdbpp/unittests/testConnectionPool.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbpp/unittests/testConnectionPool.cpp b/libdbpp/unittests/testConnectionPool.cpp index 7ef6586..5ad0121 100644 --- a/libdbpp/unittests/testConnectionPool.cpp +++ b/libdbpp/unittests/testConnectionPool.cpp @@ -31,9 +31,13 @@ BOOST_AUTO_TEST_CASE(basic) } { auto c1 = pool.get(); + BOOST_REQUIRE(c1); auto c2 = pool.get(); + BOOST_REQUIRE(c2); auto c3 = pool.get(); + BOOST_REQUIRE(c3); auto c4 = pool.get(); + BOOST_REQUIRE(c4); BOOST_REQUIRE_EQUAL(4, pool.inUseCount()); } BOOST_REQUIRE_EQUAL(0, pool.inUseCount()); |