mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve MSW export including multi lateral wells
Based on branch https://github.com/OPM/ResInsight/tree/system-msw-refactor - Move completion settings to property of well path - Rename to RimFishbones - Export implicit COMPSEGS for fishbones main bore - Add valve for each branch - Increase version number to be able to handle import of legacy project files
This commit is contained in:
@@ -11,7 +11,7 @@ TEST( RimWellPathCompletions, WellNameRegExp )
|
||||
std::vector<QString> validNames = { "RASASD", "gf0sdf", "sd-ASD12", "1-AA_b" };
|
||||
std::vector<QString> invalidNames = { ".AdSD", "+gf0sdf", "sd ASD12", "ABCDEFGHIJKL" };
|
||||
|
||||
QRegExp rx = RimWellPathCompletions::wellNameForExportRegExp();
|
||||
QRegExp rx = RimWellPathCompletionSettings::wellNameForExportRegExp();
|
||||
EXPECT_TRUE( rx.isValid() );
|
||||
|
||||
for ( QString validName : validNames )
|
||||
@@ -30,7 +30,7 @@ TEST( RimWellPathCompletions, WellNameRegExpValidator )
|
||||
std::vector<QString> invalidNames = { ".AdSD", "+gf0sdf", "sd ASD12", "ABCDEFGHIJKL" };
|
||||
QString emptyString = "";
|
||||
|
||||
QRegExp rx = RimWellPathCompletions::wellNameForExportRegExp();
|
||||
QRegExp rx = RimWellPathCompletionSettings::wellNameForExportRegExp();
|
||||
QRegExpValidator validator( nullptr );
|
||||
validator.setRegExp( rx );
|
||||
|
||||
@@ -47,4 +47,4 @@ TEST( RimWellPathCompletions, WellNameRegExpValidator )
|
||||
|
||||
int dummyPos;
|
||||
EXPECT_EQ( QValidator::Intermediate, validator.validate( emptyString, dummyPos ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user