Mercurial > dedupe
view Exception/TestInvalidDataException.cpp @ 97:34f11b2a1178
Script to extract duplicates directly to the commandline.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 13 Feb 2014 14:51:06 +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); } }
