| 100 | |
| 101 | template<class Parser> |
| 102 | void |
| 103 | testParser1(std::size_t repeat, corpus const& v) |
| 104 | { |
| 105 | while(repeat--) |
| 106 | for(auto const& b : v) |
| 107 | { |
| 108 | Parser p; |
| 109 | error_code ec; |
| 110 | p.write(b.data(), ec); |
| 111 | if(! BEAST_EXPECTS(! ec, ec.message())) |
| 112 | log << buffers_to_string(b.data()) << std::endl; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | template<class Parser> |
| 117 | void |
nothing calls this directly
no test coverage detected