| 60 | namespace pn_test { |
| 61 | |
| 62 | std::string inspect(void *obj) { |
| 63 | char* s = pn_tostring(obj); |
| 64 | std::string r(s); |
| 65 | free(s); |
| 66 | return r; |
| 67 | } |
| 68 | |
| 69 | std::ostream &operator<<(std::ostream &o, const etypes &et) { |
| 70 | return o << Catch::Detail::stringify(static_cast<std::vector<pn_event_type_t> >(et)); |
no test coverage detected