| 220 | |
| 221 | private: |
| 222 | void check(TemplateStream& stream, const FlashString& ref) |
| 223 | { |
| 224 | MemoryDataStream mem; |
| 225 | mem.copyFrom(&stream, 1024); |
| 226 | String tmpl; |
| 227 | REQUIRE(mem.moveString(tmpl)); |
| 228 | debug_i("tmpl: %s", tmpl.c_str()); |
| 229 | debug_i(" ref: %s", String(ref).c_str()); |
| 230 | REQUIRE(ref == tmpl); |
| 231 | } |
| 232 | }; |
| 233 | |
| 234 | void REGISTER_TEST(Stream) |
no test coverage detected