GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: test/zserio/ServiceExceptionTest.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/ServiceException.h"
4
5
namespace zserio
6
{
7
8


802
TEST(ServiceExceptionTest, correctTypeAfterAppend)
9
{
10










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

2394
} // namespace zserio