Mercurial > dedupe
view Exception/TestInvalidDataException.cpp @ 75:aaf0a2878f67
Fix for errors detected when running unittests.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 16 Feb 2013 15:30:12 +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); } }
