From 3fda47d11f6aa511adc5d357605dec73753f86b7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Dec 2015 23:26:25 +0000 Subject: Fix test names that have nothing to do with inheritance --- slicer/db/testSelect.cpp | 10 +++++----- 1 file 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(*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(*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(*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(*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(*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")); -- cgit v1.2.3