GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: test/zserio/ConstraintExceptionTest.cpp Lines: 3 3 100.0 %
Date: 2023-12-13 14:51:09 Branches: 15 55 27.3 %

Line Branch Exec Source
1
#include "gtest/gtest.h"
2
3
#include "zserio/ConstraintException.h"
4
5
namespace zserio
6
{
7
8


802
TEST(ConstraintExceptionTest, correctTypeAfterAppend)
9
{
10










1
    ASSERT_THROW({
11
        throw ConstraintException() << "Test that appending using operator<< persists the exception type!";
12
    }, ConstraintException);
13
}
14
15

2394
} // namespace zserio