test/tsked.cc
/// Load should throw. Schedule should be marked as not valid.
///
Load should throw. Schedule should be marked as not valid.
Load should throw . Schedule should be marked as not valid .
BOOST_DATA_TEST_CASE( Sked_defect, bdata::make(badskeds), skedname )
{
    Schedule sched;
    LOG_INFO(Lgr) << "Unit test: Sked_defect " << skedname;
    BOOST_CHECK_THROW( sched.load(skedname), Schedule_error );
    BOOST_TEST(false == sched.valid());
}
BOOST_DATA_TEST_CASE ( Sked_defect , bdata :: make ( badskeds ) , skedname ) { Schedule sched ; LOG_INFO ( Lgr ) << " " << skedname ; BOOST_CHECK_THROW ( sched . load ( skedname ) , Schedule_error ) ; BOOST_TEST ( false == sched . valid ( ) ) ; }
Load should throw.
Load should throw .