X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Ftesting%2FTestTimer.cpp;fp=source%2Ftesting%2FTestTimer.cpp;h=4825900e955557eb40e0c0ec4258e0d597ff781a;hp=47c4ccc967ff20ed84fbf0f8f379a8e7117e2754;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/testing/TestTimer.cpp b/source/testing/TestTimer.cpp index 47c4ccc..4825900 100644 --- a/source/testing/TestTimer.cpp +++ b/source/testing/TestTimer.cpp @@ -22,7 +22,7 @@ using namespace anna; using namespace anna::testing; void TestTimer::expire(anna::timex::Engine*) -throw(anna::RuntimeException) { +noexcept(false) { TestStep *step = getTestCaseStep(); @@ -37,14 +37,14 @@ throw(anna::RuntimeException) { } const char* TestTimer::asText(const Type::_v type) -throw() { +{ static const char* text [] = { "TimeLeft", "Delay" }; return text [type]; } string TestTimer::asString() const -throw() { +{ string result("TestTimer { "); result += anna::timex::Transaction::asString(); result += " Type: ";