Mercurial > dedupe
view Exception/TestPermissionException.cpp @ 112:3951f6d27219
Add various useful scripts. Refactor out SQL-statements.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Tue, 03 May 2016 02:20:07 +0200 |
| parents | c9447697609f |
| children |
line wrap: on
line source
#include "Exception/PermissionException.hpp" #include "TestFramework.hpp" BOOST_AUTO_TEST_CASE( Create ) { try { throw PermissionException(); } catch (PermissionException & e) { BOOST_REQUIRE_THROW(e.raise(), PermissionException); } }
