mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Fix case realization parameters reader unit test after increasing number of search levels
This commit is contained in:
parent
81b4ee2325
commit
34f61b92c0
@ -16,7 +16,7 @@ static const QString TEST_DATA_DIRECTORY = QString("%1/RifCaseRealizationParamet
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST(RifCaseRealizationParametersReaderTest, LocatorTestSuccess)
|
||||
{
|
||||
QString file = RifCaseRealizationParametersFileLocator::locate(TEST_DATA_DIRECTORY + "3/2");
|
||||
QString file = RifCaseRealizationParametersFileLocator::locate(TEST_DATA_DIRECTORY + "4/3/2");
|
||||
QString expected = TEST_DATA_DIRECTORY + "parameters.txt";
|
||||
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
||||
}
|
||||
@ -26,7 +26,7 @@ TEST(RifCaseRealizationParametersReaderTest, LocatorTestSuccess)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST(RifCaseRealizationParametersReaderTest, LocatorTestFailure)
|
||||
{
|
||||
QString file = RifCaseRealizationParametersFileLocator::locate(TEST_DATA_DIRECTORY + "3/2/1");
|
||||
QString file = RifCaseRealizationParametersFileLocator::locate(TEST_DATA_DIRECTORY + "4/3/2/1");
|
||||
QString expected = "";
|
||||
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user