mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Fix case realization parameters reader unit test after increasing number of search levels
This commit is contained in:
1 parent
81b4ee2325
commit
34f61b92c0
4 files changed
+2
-2
No files matched your search
@@ -16,7 +16,7 @@ static const QString TEST_DATA_DIRECTORY = QString("%1/RifCaseRealizationParamet
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
TEST(RifCaseRealizationParametersReaderTest, LocatorTestSuccess)
|
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";
|
QString expected = TEST_DATA_DIRECTORY + "parameters.txt";
|
||||||
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
||||||
}
|
}
|
||||||
@@ -26,7 +26,7 @@ TEST(RifCaseRealizationParametersReaderTest, LocatorTestSuccess)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
TEST(RifCaseRealizationParametersReaderTest, LocatorTestFailure)
|
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 = "";
|
QString expected = "";
|
||||||
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
EXPECT_EQ(expected.toStdString(), file.toStdString());
|
||||||
}
|
}
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user