From dcd12f052af884cc18ddf706710e211bead76848 Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Thu, 17 Mar 2016 09:57:59 +0800 Subject: [PATCH] rename ParseMode as ParseContext. --- tests/test_thresholdpressure.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_thresholdpressure.cpp b/tests/test_thresholdpressure.cpp index 61d2b41a5..d82ed0b75 100644 --- a/tests/test_thresholdpressure.cpp +++ b/tests/test_thresholdpressure.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include #include @@ -32,7 +32,7 @@ static DeckPtr createDeckSimConfig() { ParserPtr parser(new Parser()); - return parser->parseString(inputStr, ParseMode()) ; + return parser->parseString(inputStr, ParseContext()) ; } /* @@ -42,15 +42,15 @@ static DeckPtr createDeckSimConfig() { */ BOOST_AUTO_TEST_CASE(CreateSimulationConfig) { - ParseMode parseMode; + ParseContext parseContext; typedef UnstructuredGrid Grid; DeckPtr deck = createDeckSimConfig(); - EclipseState state(deck, parseMode); + EclipseState state(deck, parseContext); EclipseGridConstPtr eclipseGrid = state.getEclipseGrid(); std::vector porv = eclipseState->getDoubleGridProperty("PORV")->getData(); GridManager gridManager( eclipseState->getEclipseGrid(), porv ); const Grid& grid = *(gridManager.c_grid()); - std::vector threshold_pressures = thresholdPressures(parseMode, eclipseState, grid); + std::vector threshold_pressures = thresholdPressures(parseContext, eclipseState, grid); BOOST_CHECK( threshold_pressures.size() > 0 ); }