2013-09-27 10:04:10 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
|
2018-11-12 07:33:08 +01:00
|
|
|
//
|
2013-09-27 10:04:10 +02:00
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
2018-11-12 07:33:08 +01:00
|
|
|
//
|
2013-09-27 10:04:10 +02:00
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
2018-11-12 07:33:08 +01:00
|
|
|
//
|
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2013-09-27 10:04:10 +02:00
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "cafAppEnum.h"
|
2018-11-12 07:33:08 +01:00
|
|
|
#include "cafPdmField.h"
|
|
|
|
|
#include "cafPdmObject.h"
|
2013-09-27 10:04:10 +02:00
|
|
|
|
|
|
|
|
class RiaRegressionTest : public caf::PdmObject
|
|
|
|
|
{
|
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
RiaRegressionTest(void);
|
2018-10-18 19:45:57 +02:00
|
|
|
~RiaRegressionTest(void) override;
|
2013-09-27 10:04:10 +02:00
|
|
|
|
2018-03-06 17:42:00 +01:00
|
|
|
void writeSettingsToApplicationStore() const;
|
|
|
|
|
void readSettingsFromApplicationStore();
|
|
|
|
|
|
2013-09-27 10:04:10 +02:00
|
|
|
public:
|
2018-11-12 07:33:08 +01:00
|
|
|
caf::PdmField<QString> folderContainingCompareTool;
|
|
|
|
|
caf::PdmField<QString> folderContainingDiffTool;
|
|
|
|
|
caf::PdmField<QString> folderContainingGitTool;
|
|
|
|
|
caf::PdmField<QString> regressionTestFolder;
|
|
|
|
|
caf::PdmField<QString> testFilter;
|
|
|
|
|
caf::PdmField<bool> showInteractiveDiffImages;
|
|
|
|
|
caf::PdmField<bool> useOpenMPForGeometryCreation;
|
2019-03-04 11:35:25 +01:00
|
|
|
caf::PdmField<bool> openReportInBrowser;
|
2019-04-24 08:06:13 +02:00
|
|
|
caf::PdmField<bool> appendTestsAfterTestFilter;
|
2013-09-27 10:04:10 +02:00
|
|
|
|
|
|
|
|
protected:
|
2018-11-12 07:33:08 +01:00
|
|
|
void defineEditorAttribute(const caf::PdmFieldHandle* field,
|
|
|
|
|
QString uiConfigName,
|
|
|
|
|
caf::PdmUiEditorAttribute* attribute) override;
|
2013-09-27 10:04:10 +02:00
|
|
|
};
|