Mercurial > hg > orthanc
diff UnitTestsSources/LuaTests.cpp @ 1583:9ea3d082b064
got rid of custom exceptions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 17:52:50 +0200 |
parents | b5eb5210af91 |
children | 87a606265de8 |
line wrap: on
line diff
--- a/UnitTestsSources/LuaTests.cpp Tue Aug 25 17:39:38 2015 +0200 +++ b/UnitTestsSources/LuaTests.cpp Tue Aug 25 17:52:50 2015 +0200 @@ -33,6 +33,7 @@ #include "PrecompiledHeadersUnitTests.h" #include "gtest/gtest.h" +#include "../Core/OrthancException.h" #include "../Core/Toolbox.h" #include "../Core/Lua/LuaFunctionCall.h" @@ -79,7 +80,7 @@ { Orthanc::LuaFunctionCall f(lua, "f"); f.PushJson(o); - ASSERT_THROW(f.ExecutePredicate(), Orthanc::LuaException); + ASSERT_THROW(f.ExecutePredicate(), Orthanc::OrthancException); } o["bool"] = false;