| 602 | |
| 603 | template <typename Encoding> |
| 604 | ParseErrorCode TestString(const typename Encoding::Ch* str) { |
| 605 | GenericStringStream<Encoding> s(str); |
| 606 | BaseReaderHandler<Encoding> h; |
| 607 | GenericReader<Encoding, Encoding> reader; |
| 608 | reader.template Parse<kParseValidateEncodingFlag>(s, h); |
| 609 | return reader.GetParseErrorCode(); |
| 610 | } |
| 611 | |
| 612 | TEST(Reader, ParseString_Error) { |
| 613 | #define TEST_STRING_ERROR(errorCode, str, errorOffset, streamPos)\ |
nothing calls this directly
no test coverage detected