Coverage Report

Created: 2023-12-13 14:58

test/zserio/ConstraintExceptionTest.cpp
Line
Count
Source
1
#include "gtest/gtest.h"
2
3
#include "zserio/ConstraintException.h"
4
5
namespace zserio
6
{
7
8
TEST(ConstraintExceptionTest, correctTypeAfterAppend)
9
1
{
10
1
    ASSERT_THROW({
11
1
        throw ConstraintException() << "Test that appending using operator<< persists the exception type!";
12
1
    }, ConstraintException);
13
1
}
14
15
} // namespace zserio