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