mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05: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:
1 parent
5415a8c42d
commit
8bab748fa6
104 files changed
+3250
-3203
No files matched your search
@@ -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