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

Method testString

test/parse_into.cpp:269–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 void testString()
270 {
271 testParseInto<std::string>( "" );
272 testParseInto<std::string>( "12345" );
273
274 testParseIntoErrors< string >( error::not_string, UINT64_MAX );
275
276 std::string s;
277 parse_into(s, R"( "foobar" )");
278 BOOST_TEST( s.size() == 6 );
279
280 parse_into(s, R"( "qwertyuiop" )");
281 BOOST_TEST( s.size() == 10 );
282 }
283
284 void testSequence()
285 {

Callers

nothing calls this directly

Calls 2

parse_intoFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected