MCPcopy Create free account
hub / github.com/boostorg/json / testIstream

Method testIstream

test/parse.cpp:194–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void
195 testIstream()
196 {
197 std::stringstream ss("null");
198 parse(ss); // does not throw
199
200 ss.clear();
201 ss.setstate(std::ios::failbit);
202 BOOST_TEST_THROWS_WITH_LOCATION( parse(ss) );
203 }
204
205 void
206 run()

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected