Coverage Report

Created: 2024-04-30 09:35

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