-
Gemma Guest authored
Experiment presenter now uses the mock rather than testing values against the parameter file directly. Re #23015
Gemma Guest authoredExperiment presenter now uses the mock rather than testing values against the parameter file directly. Re #23015
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
MockExperimentOptionDefaults.h 775 B
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2019 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#include "../../../ISISReflectometry/GUI/Experiment/ExperimentOptionDefaults.h"
#include "MantidKernel/WarningSuppressions.h"
#include <gmock/gmock.h>
GNU_DIAG_OFF_SUGGEST_OVERRIDE
namespace MantidQt {
namespace CustomInterfaces {
class MockExperimentOptionDefaults : public IExperimentOptionDefaults {
public:
MOCK_METHOD1(get, Experiment(
Mantid::Geometry::Instrument_const_sptr instrument));
};
} // namespace CustomInterfaces
} // namespace MantidQt
GNU_DIAG_ON_SUGGEST_OVERRIDE