You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASSERT_THROW_EQUALS(msg.deserialize("8 errorId"), InternalError, "Internal Error: Deserialization of error message failed - premature end of data");
361
+
ASSERT_THROW_INTERNAL_EQUALS(msg.deserialize("8 errorId"), INTERNAL, "Internal Error: Deserialization of error message failed - premature end of data");
@@ -376,7 +376,7 @@ class TestErrorLogger : public TestFixture {
376
376
"17 Programming error"
377
377
"0 ";
378
378
ErrorMessage msg;
379
-
ASSERT_THROW_EQUALS(msg.deserialize(str), InternalError, "Internal Error: Deserialization of error message failed - invalid CWE ID - not an integer");
379
+
ASSERT_THROW_INTERNAL_EQUALS(msg.deserialize(str), INTERNAL, "Internal Error: Deserialization of error message failed - invalid CWE ID - not an integer");
380
380
}
381
381
{
382
382
// invalid hash
@@ -389,7 +389,7 @@ class TestErrorLogger : public TestFixture {
389
389
"17 Programming error"
390
390
"0 ";
391
391
ErrorMessage msg;
392
-
ASSERT_THROW_EQUALS(msg.deserialize(str), InternalError, "Internal Error: Deserialization of error message failed - invalid hash - not an integer");
392
+
ASSERT_THROW_INTERNAL_EQUALS(msg.deserialize(str), INTERNAL, "Internal Error: Deserialization of error message failed - invalid hash - not an integer");
393
393
}
394
394
{
395
395
// out-of-range CWE ID
@@ -402,7 +402,7 @@ class TestErrorLogger : public TestFixture {
ASSERT_THROW_INTERNAL_EQUALS(msg.deserialize(str), INTERNAL, "Internal Error: Deserialization of error message failed - invalid CWE ID - out of range (limits)");
0 commit comments