Coverage Report

Created: 2024-10-29 13:13

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