Mercurial > dedupe
view Exception/TestInvalidDataException.cpp @ 99:b821d6270741
If we have turned USE_BOOST on, we actually require the packages.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 13 Feb 2014 14:53:35 +0100 |
| parents | c9447697609f |
| children |
line wrap: on
line source
#include "Exception/InvalidDataException.hpp" #include "TestFramework.hpp" BOOST_AUTO_TEST_CASE( Create ) { try { throw InvalidDataException(); } catch (InvalidDataException & e) { BOOST_REQUIRE_THROW(e.raise(), InvalidDataException); } }
