mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Thermal Fracture Import: Add test for loading non-existing file.
This commit is contained in:
parent
40cc3f9dc6
commit
ed03bd716e
@ -92,3 +92,16 @@ TEST( RifThermalFractureReaderTest, LoadFileMixedUnits )
|
||||
EXPECT_FALSE( errorMessage.isEmpty() );
|
||||
EXPECT_FALSE( fractureData.get() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST( RifThermalFractureReaderTest, LoadFileNonExistingFiles )
|
||||
{
|
||||
QString fileName = CASE_REAL_TEST_DATA_DIRECTORY_03 + "this_file_does_not_exist.csv";
|
||||
|
||||
auto [fractureData, errorMessage] = RifThermalFractureReader::readFractureCsvFile( fileName );
|
||||
|
||||
EXPECT_FALSE( errorMessage.isEmpty() );
|
||||
EXPECT_FALSE( fractureData.get() );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user