diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 23:26:25 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 23:26:25 +0000 |
commit | 3fda47d11f6aa511adc5d357605dec73753f86b7 (patch) | |
tree | 18348316c916400e4c3971ef76c48042881b6756 | |
parent | Improve support for optional types (diff) | |
download | slicer-3fda47d11f6aa511adc5d357605dec73753f86b7.tar.bz2 slicer-3fda47d11f6aa511adc5d357605dec73753f86b7.tar.xz slicer-3fda47d11f6aa511adc5d357605dec73753f86b7.zip |
Fix test names that have nothing to do with inheritance
-rw-r--r-- | slicer/db/testSelect.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/slicer/db/testSelect.cpp b/slicer/db/testSelect.cpp index a02ff01..fdcb358 100644 --- a/slicer/db/testSelect.cpp +++ b/slicer/db/testSelect.cpp @@ -161,35 +161,35 @@ BOOST_AUTO_TEST_CASE( select_unsupportedModel ) BOOST_REQUIRE_THROW(BoostThrowWrapperHelper<TestModule::ClassMap>(*sel), Slicer::UnsupportedModelType); } -BOOST_AUTO_TEST_CASE( select_inherit_tooManyRowsSimple ) +BOOST_AUTO_TEST_CASE( select_tooManyRowsSimple ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); auto sel = SelectPtr(db->newSelectCommand("SELECT id FROM test")); BOOST_REQUIRE_THROW(BoostThrowWrapperHelper<Ice::Int>(*sel), Slicer::TooManyRowsReturned); } -BOOST_AUTO_TEST_CASE( select_inherit_noRowsSimple ) +BOOST_AUTO_TEST_CASE( select_noRowsSimple ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); auto sel = SelectPtr(db->newSelectCommand("SELECT id FROM test WHERE false")); BOOST_REQUIRE_THROW(BoostThrowWrapperHelper<Ice::Int>(*sel), Slicer::NoRowsReturned); } -BOOST_AUTO_TEST_CASE( select_inherit_tooManyRowsComplex ) +BOOST_AUTO_TEST_CASE( select_tooManyRowsComplex ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); auto sel = SelectPtr(db->newSelectCommand("SELECT id FROM test")); BOOST_REQUIRE_THROW(BoostThrowWrapperHelper<TestModule::BuiltInsPtr>(*sel), Slicer::TooManyRowsReturned); } -BOOST_AUTO_TEST_CASE( select_inherit_noRowsComplex ) +BOOST_AUTO_TEST_CASE( select_noRowsComplex ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); auto sel = SelectPtr(db->newSelectCommand("SELECT id FROM test WHERE false")); BOOST_REQUIRE_THROW(BoostThrowWrapperHelper<TestModule::BuiltInsPtr>(*sel), Slicer::NoRowsReturned); } -BOOST_AUTO_TEST_CASE( select_inherit_emptySequence ) +BOOST_AUTO_TEST_CASE( select_emptySequence ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); auto sel = SelectPtr(db->newSelectCommand("SELECT id FROM test WHERE false")); |