mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add disabled test
This commit is contained in:
parent
9c7e3f7568
commit
aaf0af30ef
@ -318,3 +318,71 @@ TEST( RifEclipseInputFileToolsTest, StopAtKeyword )
|
||||
EXPECT_TRUE( keywordContent.isEmpty() );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST( RifEclipseInputFileToolsTest, DISABLED_FindFilesWithVfp )
|
||||
{
|
||||
QString fileName = "d:/gitroot-ceesol/ResInsight-regression-test/ModelData/norne/NORNE_ATW2013.DATA";
|
||||
|
||||
{
|
||||
QFile data( fileName );
|
||||
if ( !data.open( QFile::ReadOnly ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const QString keyword( "VFPPROD" );
|
||||
const QString keywordToStopParsing;
|
||||
const qint64 startPositionInFile = 0;
|
||||
std::vector<std::pair<QString, QString>> pathAliasDefinitions;
|
||||
QStringList keywordContent;
|
||||
std::vector<QString> fileNamesContainingKeyword;
|
||||
bool isStopParsingKeywordDetected = false;
|
||||
const QString includeStatementAbsolutePathPrefix;
|
||||
|
||||
RifEclipseInputFileTools::readKeywordAndParseIncludeStatementsRecursively( keyword,
|
||||
keywordToStopParsing,
|
||||
data,
|
||||
startPositionInFile,
|
||||
pathAliasDefinitions,
|
||||
&keywordContent,
|
||||
&fileNamesContainingKeyword,
|
||||
&isStopParsingKeywordDetected,
|
||||
includeStatementAbsolutePathPrefix );
|
||||
|
||||
// EXPECT_TRUE( isStopParsingKeywordDetected );
|
||||
// EXPECT_TRUE( keywordContent.isEmpty() );
|
||||
}
|
||||
|
||||
{
|
||||
QFile data( fileName );
|
||||
if ( !data.open( QFile::ReadOnly ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const QString keyword( "VFPINJ" );
|
||||
const QString keywordToStopParsing;
|
||||
const qint64 startPositionInFile = 0;
|
||||
std::vector<std::pair<QString, QString>> pathAliasDefinitions;
|
||||
QStringList keywordContent;
|
||||
std::vector<QString> fileNamesContainingKeyword;
|
||||
bool isStopParsingKeywordDetected = false;
|
||||
const QString includeStatementAbsolutePathPrefix;
|
||||
|
||||
RifEclipseInputFileTools::readKeywordAndParseIncludeStatementsRecursively( keyword,
|
||||
keywordToStopParsing,
|
||||
data,
|
||||
startPositionInFile,
|
||||
pathAliasDefinitions,
|
||||
&keywordContent,
|
||||
&fileNamesContainingKeyword,
|
||||
&isStopParsingKeywordDetected,
|
||||
includeStatementAbsolutePathPrefix );
|
||||
|
||||
// EXPECT_TRUE( isStopParsingKeywordDetected );
|
||||
// EXPECT_TRUE( keywordContent.isEmpty() );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user