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

Method testEnum

test/parse_into.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 }
431
432 void testEnum()
433 {
434#ifdef BOOST_DESCRIBE_CXX14
435 testParseInto<E>( E::x );
436 testParseInto<E>( E::y );
437 testParseInto<E>( E::z );
438
439 testParseIntoErrors< E >( error::not_string, (int)(E::y) );
440 testParseIntoErrors< E >( error::unknown_name, "zoom" );
441#endif // BOOST_DESCRIBE_CXX14
442 }
443
444 template< template<class...> class Variant, class Monostate >
445 void testVariant()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected