mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Python tests
This commit is contained in:
@@ -46,8 +46,9 @@ RimCase::RimCase() : m_isInActiveDestruction(false)
|
||||
{
|
||||
RICF_InitField(&caseUserDescription, "CaseUserDescription", QString(), "Case Name", "", "" ,"");
|
||||
|
||||
CAF_PDM_InitField(&caseId, "CaseId", -1, "Case ID", "", "" ,"");
|
||||
RICF_InitField(&caseId, "CaseId", -1, "Case ID", "", "" ,"");
|
||||
caseId.uiCapability()->setUiReadOnly(true);
|
||||
caseId.capability<RicfFieldHandle>()->setIOWriteable(false);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&activeFormationNames, "DefaultFormationNames", "Formation Names File", "", "", "");
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaRegressionTestRunner.h"
|
||||
|
||||
#include "RicfCommandObject.h"
|
||||
|
||||
#include "RifEclipseOutputFileTools.h"
|
||||
#include "RifReaderEclipseOutput.h"
|
||||
#include "RifReaderEclipseRft.h"
|
||||
@@ -70,8 +72,9 @@ RimEclipseResultCase::RimEclipseResultCase()
|
||||
{
|
||||
CAF_PDM_InitObject("Eclipse Case", ":/Case48x48.png", "", "");
|
||||
|
||||
CAF_PDM_InitField(&caseFileName, "CaseFileName", QString(), "Case File Name", "", "" ,"");
|
||||
RICF_InitField(&caseFileName, "CaseFileName", QString(), "Case File Name", "", "" ,"");
|
||||
caseFileName.uiCapability()->setUiReadOnly(true);
|
||||
caseFileName.capability<RicfFieldHandle>()->setIOWriteable(false);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_unitSystem, "UnitSystem", "Unit System", "", "", "");
|
||||
m_unitSystem.registerGetMethod(RiaApplication::instance()->project(), &RimProject::commonUnitSystemForAllCases);
|
||||
|
||||
Reference in New Issue
Block a user