Add ParseContext argument to the RPTxxx parsing

This commit is contained in:
Joakim Hove
2018-12-20 12:27:49 +01:00
parent f5851bcb92
commit 25fbff2632
7 changed files with 75 additions and 58 deletions

View File

@@ -188,9 +188,10 @@ BOOST_AUTO_TEST_CASE(DefaultProperties) {
" 1 JAN 1986 /\n"
"/\n";
auto deck = Parser().parseString( data, ParseContext() );
ParseContext ctx;
auto deck = Parser().parseString( data, ctx );
IOConfig ioConfig( deck );
RestartConfig rstConfig( deck );
RestartConfig rstConfig( deck, ctx );
/*If no GRIDFILE nor NOGGF keywords are specified, default output an EGRID file*/
BOOST_CHECK( ioConfig.getWriteEGRIDFile() );