Coverage Report

Created: 2026-03-05 16:18

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