Merge pull request #1210 from stefoss23/test_RelpermDiagnostics_PARSE_EXTRA_RECORDS_compliant

test_RelpermDiagnostics made to use PARSE_EXTRA_RECORDS.
This commit is contained in:
Joakim Hove 2018-01-17 12:27:24 +01:00 committed by GitHub
commit f693b757d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -91,4 +91,3 @@ SGOF
0.7 0.94 0.000 0
0.85 0.98 0.000 0
0.88 0.984 0.000 0 /
1.00 1.0 0.000 0 /

View File

@ -51,10 +51,8 @@ BOOST_AUTO_TEST_CASE(diagnosis)
{
using namespace Opm;
Parser parser;
Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE },
{ ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE},
{ ParseContext::PARSE_RANDOM_TEXT, InputError::IGNORE}
});
Opm::ParseContext parseContext;
Opm::Deck deck = parser.parseFile("../tests/relpermDiagnostics.DATA", parseContext);
EclipseState eclState(deck, parseContext);
GridManager gm(eclState.getInputGrid());