Mantid
Loading...
Searching...
No Matches
FitScriptGeneratorMockObjects.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
20
21#include <string>
22#include <vector>
23
24#include <gmock/gmock.h>
25
26using namespace MantidQt::MantidWidgets;
27
29
31
32public:
34 m_view = view;
36 }
37
39 m_model = model;
41 }
42
43 void notifyPresenter(ViewEvent const &ev, std::string const &arg1 = "", std::string const &arg2 = "") override {
44 notifyPresenterImpl(ev, arg1, arg2);
45 }
46
47 MOCK_METHOD3(notifyPresenterImpl, void(ViewEvent const &ev, std::string const &arg1, std::string const &arg2));
48 MOCK_METHOD2(notifyPresenter, void(ViewEvent const &ev, std::vector<std::string> const &vec));
49 MOCK_METHOD2(notifyPresenter, void(ViewEvent const &ev, FittingMode fittingMode));
50
52
53 MOCK_METHOD1(setGlobalTies, void(std::vector<GlobalTie> const &globalTies));
54 MOCK_METHOD1(setGlobalParameters, void(std::vector<GlobalParameter> const &globalParameters));
55
56private:
59};
60
62
63public:
65
70
71 MOCK_CONST_METHOD0(allRows, std::vector<FitDomainIndex>());
72 MOCK_CONST_METHOD0(selectedRows, std::vector<FitDomainIndex>());
74
76
77 MOCK_CONST_METHOD1(parameterValue, double(std::string const &parameter));
79
80 MOCK_METHOD2(renameWorkspace, void(std::string const &workspaceName, std::string const &newName));
81
84 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX));
85
87 MOCK_METHOD0(getDialogWorkspaces, std::vector<Mantid::API::MatrixWorkspace_const_sptr>());
88 MOCK_CONST_METHOD0(getDialogWorkspaceIndices, std::vector<WorkspaceIndex>());
89
91 void(std::string const &parameter, std::vector<std::string> const &workspaceNames,
92 std::vector<std::string> const &domainNames, std::vector<double> const &values,
93 std::vector<bool> const &fixes, std::vector<std::string> const &ties,
94 std::vector<std::string> const &constraints));
95 MOCK_CONST_METHOD0(getEditLocalParameterResults, std::tuple<std::string, std::vector<double>, std::vector<bool>,
96 std::vector<std::string>, std::vector<std::string>>());
97
98 MOCK_CONST_METHOD0(fitOptions, std::tuple<std::string, std::string, std::string, std::string, std::string, bool>());
99 MOCK_CONST_METHOD0(outputBaseName, std::string());
101
103
105
108
109 MOCK_METHOD1(setSimultaneousMode, void(bool simultaneousMode));
110
111 MOCK_METHOD1(setGlobalTies, void(std::vector<GlobalTie> const &globalTies));
112 MOCK_METHOD1(setGlobalParameters, void(std::vector<GlobalParameter> const &globalParameter));
113
114 MOCK_METHOD1(displayWarning, void(std::string const &message));
115
122
123 MOCK_METHOD1(setSuccessText, void(std::string const &text));
124 MOCK_CONST_METHOD1(saveTextToClipboard, void(std::string const &text));
125};
126
128
129public:
131
134 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX));
135 MOCK_CONST_METHOD2(hasWorkspaceDomain, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex));
136
137 MOCK_METHOD2(renameWorkspace, void(std::string const &workspaceName, std::string const &newName));
138
139 MOCK_METHOD3(updateStartX, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX));
140 MOCK_METHOD3(updateEndX, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double endX));
141
143 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function));
145 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function));
147 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function));
149 Mantid::API::IFunction_sptr(std::string const &workspaceName, WorkspaceIndex workspaceIndex));
150
152 std::string(std::string const &workspaceName, WorkspaceIndex workspaceIndex,
153 std::string const &functionIndex));
155 std::string(MantidQt::MantidWidgets::FitDomainIndex, std::string const &functionIndex));
157 std::string(std::string const &workspaceName, WorkspaceIndex workspaceIndex,
158 std::string const &fullParameter, std::string const &fullTie));
159 MOCK_CONST_METHOD1(getAdjustedFunctionIndex, std::string(std::string const &parameter));
161 std::string(MantidQt::MantidWidgets::FitDomainIndex, std::string const &parameter));
163
164 MOCK_METHOD4(updateParameterValue, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex,
165 std::string const &fullParameter, double newValue));
167 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullAttribute,
168 Mantid::API::IFunction::Attribute const &newValue));
169
170 MOCK_METHOD4(updateParameterTie, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex,
171 std::string const &fullParameter, std::string const &tie));
172
174 void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter));
175 MOCK_METHOD4(updateParameterConstraint, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex,
176 std::string const &functionIndex, std::string const &constraint));
177
178 MOCK_METHOD1(setGlobalParameters, void(std::vector<std::string> const &parameters));
179
180 MOCK_METHOD1(setOutputBaseName, void(std::string const &outputBaseName));
181
185
187 bool(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &parameter));
188
190 std::string const &fullParameter, double value));
192 void(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter, bool fix));
194 std::string const &fullParameter, std::string const &tie));
196 std::string const &fullParameter, std::string const &constraint));
197
200 double(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter));
202 bool(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter));
204 std::string const &fullParameter));
206 std::string const &fullParameter));
207
209
210 MOCK_CONST_METHOD0(getGlobalTies, std::vector<GlobalTie>());
211 MOCK_CONST_METHOD0(getGlobalParameters, std::vector<GlobalParameter>());
212
213 MOCK_CONST_METHOD0(isValid, std::tuple<bool, std::string>());
214
215 std::string generatePythonFitScript([[maybe_unused]] std::tuple<std::string, std::string, std::string, std::string,
216 std::string, bool> const &fitOptions,
217 [[maybe_unused]] std::string const &filepath = "") override {
218 return "# mock python script";
219 }
220};
221
double value
The value of the point.
Definition: FitMW.cpp:51
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
#define GNU_DIAG_ON_SUGGEST_OVERRIDE
#define GNU_DIAG_OFF_SUGGEST_OVERRIDE
A dialog for selecting a workspace from the ADS.
This class represents the table widget which holds domain data for the FitScriptGenerator interface.
This class stores the domain and fit data to be fitted to.
void subscribePresenter(IFitScriptGeneratorPresenter *presenter) override
void subscribePresenter(IFitScriptGeneratorPresenter *presenter) override
virtual FittingMode getFittingMode() const =0
virtual void removeFunction(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function)=0
virtual void updateParameterTie(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, std::string const &tie)=0
virtual void addFunction(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function)=0
virtual void updateAttributeValue(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullAttribute, Mantid::API::IFunction::Attribute const &newValue)=0
virtual void setParameterTie(FitDomainIndex domainIndex, std::string const &fullParameter, std::string const &tie)=0
virtual bool hasWorkspaceDomain(std::string const &workspaceName, WorkspaceIndex workspaceIndex) const =0
virtual std::vector< GlobalParameter > getGlobalParameters() const =0
virtual bool updateStartX(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX)=0
virtual void removeParameterConstraint(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter)=0
virtual void updateParameterConstraint(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &functionIndex, std::string const &constraint)=0
virtual void addWorkspaceDomain(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX)=0
virtual std::string getEquivalentFunctionIndexForDomain(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &functionIndex) const =0
virtual std::string getParameterConstraint(FitDomainIndex domainIndex, std::string const &fullParameter) const =0
virtual std::string getEquivalentParameterTieForDomain(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, std::string const &fullTie) const =0
virtual void setFittingMode(FittingMode fittingMode)=0
virtual void subscribePresenter(IFitScriptGeneratorPresenter *presenter)=0
virtual std::vector< GlobalTie > getGlobalTies() const =0
virtual std::size_t numberOfDomains() const =0
virtual bool hasParameter(FitDomainIndex domainIndex, std::string const &fullParameter) const =0
virtual std::string getParameterTie(FitDomainIndex domainIndex, std::string const &fullParameter) const =0
virtual std::string getFullParameter(FitDomainIndex domainIndex, std::string const &parameter) const =0
virtual void renameWorkspace(std::string const &workspaceName, std::string const &newName)=0
virtual void updateParameterValue(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, double newValue)=0
virtual std::string getAdjustedFunctionIndex(std::string const &parameter) const =0
virtual void removeDomain(FitDomainIndex domainIndex)=0
virtual std::tuple< bool, std::string > isValid() const =0
virtual std::string getDomainName(FitDomainIndex domainIndex) const =0
virtual void setGlobalParameters(std::vector< std::string > const &parameters)=0
virtual void setOutputBaseName(std::string const &outputBaseName)=0
virtual bool updateEndX(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double endX)=0
virtual Mantid::API::IFunction_sptr getFunction(std::string const &workspaceName, WorkspaceIndex workspaceIndex) const =0
virtual void setParameterFixed(FitDomainIndex domainIndex, std::string const &fullParameter, bool fix)=0
virtual void setParameterConstraint(FitDomainIndex domainIndex, std::string const &fullParameter, std::string const &constraint)=0
virtual void setParameterValue(FitDomainIndex domainIndex, std::string const &fullParameter, double value)=0
virtual void setFunction(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function)=0
virtual double getParameterValue(FitDomainIndex domainIndex, std::string const &fullParameter) const =0
virtual std::string getFullTie(FitDomainIndex domainIndex, std::string const &tie) const =0
virtual bool isParameterFixed(FitDomainIndex domainIndex, std::string const &fullParameter) const =0
virtual void setGlobalTies(std::vector< MantidQt::MantidWidgets::GlobalTie > const &globalTies)=0
virtual void setGlobalParameters(std::vector< MantidQt::MantidWidgets::GlobalParameter > const &globalParameters)=0
virtual std::vector< FitDomainIndex > allRows() const =0
virtual QPushButton * addWorkspaceButton() const =0
virtual void subscribePresenter(IFitScriptGeneratorPresenter *presenter)=0
virtual void renameWorkspace(std::string const &workspaceName, std::string const &newName)=0
virtual void setSimultaneousMode(bool simultaneousMode)=0
virtual void setGlobalTies(std::vector< GlobalTie > const &globalTies)=0
virtual FitScriptGeneratorDataTable * tableWidget() const =0
Testing accessors.
virtual std::vector< FitDomainIndex > selectedRows() const =0
virtual Mantid::API::IFunction::Attribute attributeValue(std::string const &attribute) const =0
virtual std::tuple< std::string, std::string, std::string, std::string, std::string, bool > fitOptions() const =0
virtual void setSuccessText(std::string const &text)=0
virtual void removeDomain(FitDomainIndex domainIndex)=0
virtual std::vector< Mantid::API::MatrixWorkspace_const_sptr > getDialogWorkspaces()=0
virtual QPushButton * generateScriptToFileButton() const =0
virtual std::string workspaceName(FitDomainIndex index) const =0
virtual void addWorkspaceDomain(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX)=0
virtual QPushButton * removeButton() const =0
virtual FitDomainIndex currentRow() const =0
virtual std::string filepath() const =0
virtual void openEditLocalParameterDialog(std::string const &parameter, std::vector< std::string > const &workspaceNames, std::vector< std::string > const &domainNames, std::vector< double > const &values, std::vector< bool > const &fixes, std::vector< std::string > const &ties, std::vector< std::string > const &constraints)=0
virtual void setGlobalParameters(std::vector< GlobalParameter > const &globalParameter)=0
virtual double endX(FitDomainIndex index) const =0
virtual double startX(FitDomainIndex index) const =0
virtual AddWorkspaceDialog * addWorkspaceDialog() const =0
virtual void displayWarning(std::string const &message)=0
virtual std::tuple< std::string, std::vector< double >, std::vector< bool >, std::vector< std::string >, std::vector< std::string > > getEditLocalParameterResults() const =0
virtual void setFunction(Mantid::API::IFunction_sptr const &function) const =0
virtual std::vector< WorkspaceIndex > getDialogWorkspaceIndices() const =0
virtual WorkspaceIndex workspaceIndex(FitDomainIndex index) const =0
virtual QPushButton * generateScriptToClipboardButton() const =0
virtual void saveTextToClipboard(std::string const &text) const =0
virtual double parameterValue(std::string const &parameter) const =0
Attribute is a non-fitting parameter.
Definition: IFunction.h:282
MOCK_METHOD4(addWorkspaceDomain, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX))
MOCK_METHOD1(setFittingMode, void(FittingMode fittingMode))
MOCK_METHOD1(setOutputBaseName, void(std::string const &outputBaseName))
MOCK_METHOD3(setFunction, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function))
MOCK_CONST_METHOD2(getFullParameter, std::string(MantidQt::MantidWidgets::FitDomainIndex, std::string const &parameter))
MOCK_METHOD3(removeParameterConstraint, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter))
MOCK_METHOD4(updateParameterConstraint, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &functionIndex, std::string const &constraint))
MOCK_CONST_METHOD0(getFittingMode, FittingMode())
MOCK_CONST_METHOD0(isValid, std::tuple< bool, std::string >())
MOCK_METHOD3(setParameterFixed, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter, bool fix))
MOCK_CONST_METHOD2(hasParameter, bool(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &parameter))
MOCK_METHOD3(setParameterValue, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter, double value))
MOCK_CONST_METHOD2(getParameterConstraint, std::string(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter))
MOCK_METHOD3(setParameterTie, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter, std::string const &tie))
MOCK_CONST_METHOD0(isSimultaneousMode, bool())
MOCK_CONST_METHOD3(getEquivalentFunctionIndexForDomain, std::string(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &functionIndex))
MOCK_CONST_METHOD1(getDomainName, std::string(MantidQt::MantidWidgets::FitDomainIndex domainIndex))
MOCK_METHOD4(updateParameterValue, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, double newValue))
MOCK_CONST_METHOD2(getEquivalentFunctionIndexForDomain, std::string(MantidQt::MantidWidgets::FitDomainIndex, std::string const &functionIndex))
MOCK_METHOD1(removeDomain, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex))
MOCK_CONST_METHOD0(numberOfDomains, std::size_t())
MOCK_METHOD3(setParameterConstraint, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter, std::string const &constraint))
MOCK_METHOD1(setGlobalParameters, void(std::vector< std::string > const &parameters))
MOCK_CONST_METHOD2(getFullTie, std::string(MantidQt::MantidWidgets::FitDomainIndex, std::string const &tie))
MOCK_CONST_METHOD2(getParameterValue, double(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter))
MOCK_CONST_METHOD2(getParameterTie, std::string(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter))
MOCK_CONST_METHOD0(getGlobalTies, std::vector< GlobalTie >())
std::string generatePythonFitScript(std::tuple< std::string, std::string, std::string, std::string, std::string, bool > const &fitOptions, std::string const &filepath="") override
MOCK_METHOD4(updateAttributeValue, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullAttribute, Mantid::API::IFunction::Attribute const &newValue))
MOCK_METHOD1(subscribePresenter, void(IFitScriptGeneratorPresenter *presenter))
MOCK_CONST_METHOD2(hasWorkspaceDomain, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex))
MOCK_METHOD2(renameWorkspace, void(std::string const &workspaceName, std::string const &newName))
MOCK_CONST_METHOD2(isParameterFixed, bool(MantidQt::MantidWidgets::FitDomainIndex domainIndex, std::string const &fullParameter))
MOCK_CONST_METHOD4(getEquivalentParameterTieForDomain, std::string(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, std::string const &fullTie))
MOCK_METHOD3(updateEndX, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double endX))
MOCK_METHOD3(updateStartX, bool(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX))
MOCK_METHOD4(updateParameterTie, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullParameter, std::string const &tie))
MOCK_METHOD3(addFunction, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function))
MOCK_CONST_METHOD2(getFunction, Mantid::API::IFunction_sptr(std::string const &workspaceName, WorkspaceIndex workspaceIndex))
MOCK_CONST_METHOD1(getAdjustedFunctionIndex, std::string(std::string const &parameter))
MOCK_METHOD3(removeFunction, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function))
MOCK_CONST_METHOD0(getGlobalParameters, std::vector< GlobalParameter >())
MOCK_METHOD1(setGlobalTies, void(std::vector< GlobalTie > const &globalTies))
MOCK_METHOD3(notifyPresenterImpl, void(ViewEvent const &ev, std::string const &arg1, std::string const &arg2))
MockFitScriptGeneratorPresenter(FitScriptGeneratorModel *model)
MOCK_METHOD2(notifyPresenter, void(ViewEvent const &ev, FittingMode fittingMode))
MOCK_METHOD1(setGlobalParameters, void(std::vector< GlobalParameter > const &globalParameters))
void notifyPresenter(ViewEvent const &ev, std::string const &arg1="", std::string const &arg2="") override
MockFitScriptGeneratorPresenter(FitScriptGeneratorView *view)
MOCK_METHOD0(openFitScriptGenerator, void())
MOCK_METHOD2(notifyPresenter, void(ViewEvent const &ev, std::vector< std::string > const &vec))
MOCK_METHOD1(setSimultaneousMode, void(bool simultaneousMode))
MOCK_METHOD2(renameWorkspace, void(std::string const &workspaceName, std::string const &newName))
MOCK_CONST_METHOD1(attributeValue, Mantid::API::IFunction::Attribute(std::string const &attribute))
MOCK_CONST_METHOD0(getEditLocalParameterResults, std::tuple< std::string, std::vector< double >, std::vector< bool >, std::vector< std::string >, std::vector< std::string > >())
MOCK_CONST_METHOD0(addWorkspaceDialog, AddWorkspaceDialog *())
MOCK_CONST_METHOD1(workspaceIndex, WorkspaceIndex(FitDomainIndex index))
MOCK_CONST_METHOD1(endX, double(FitDomainIndex index))
MOCK_METHOD0(clearFunction, void())
MOCK_CONST_METHOD0(allRows, std::vector< FitDomainIndex >())
MOCK_METHOD1(removeDomain, void(MantidQt::MantidWidgets::FitDomainIndex domainIndex))
MOCK_CONST_METHOD0(tableWidget, FitScriptGeneratorDataTable *())
MOCK_CONST_METHOD0(applyFunctionChangesToAll, bool())
MOCK_CONST_METHOD0(selectedRows, std::vector< FitDomainIndex >())
MOCK_CONST_METHOD0(outputBaseName, std::string())
MOCK_CONST_METHOD0(filepath, std::string())
MOCK_METHOD1(setSuccessText, void(std::string const &text))
MOCK_CONST_METHOD1(saveTextToClipboard, void(std::string const &text))
MOCK_CONST_METHOD0(addWorkspaceButton, QPushButton *())
MOCK_METHOD4(addWorkspaceDomain, void(std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX))
MOCK_CONST_METHOD0(currentRow, FitDomainIndex())
MOCK_CONST_METHOD0(hasLoadedData, bool())
MOCK_METHOD1(setGlobalParameters, void(std::vector< GlobalParameter > const &globalParameter))
MOCK_METHOD1(subscribePresenter, void(IFitScriptGeneratorPresenter *presenter))
MOCK_METHOD7(openEditLocalParameterDialog, void(std::string const &parameter, std::vector< std::string > const &workspaceNames, std::vector< std::string > const &domainNames, std::vector< double > const &values, std::vector< bool > const &fixes, std::vector< std::string > const &ties, std::vector< std::string > const &constraints))
MOCK_METHOD0(openAddWorkspaceDialog, void())
MOCK_CONST_METHOD0(getDialogWorkspaceIndices, std::vector< WorkspaceIndex >())
MOCK_CONST_METHOD1(workspaceName, std::string(FitDomainIndex index))
MOCK_CONST_METHOD1(startX, double(FitDomainIndex index))
MOCK_METHOD0(resetSelection, void())
MOCK_CONST_METHOD0(generateScriptToClipboardButton, QPushButton *())
MOCK_CONST_METHOD0(removeButton, QPushButton *())
MOCK_CONST_METHOD0(generateScriptToFileButton, QPushButton *())
MOCK_METHOD1(setGlobalTies, void(std::vector< GlobalTie > const &globalTies))
MOCK_CONST_METHOD0(fitOptions, std::tuple< std::string, std::string, std::string, std::string, std::string, bool >())
MOCK_METHOD1(displayWarning, void(std::string const &message))
MOCK_METHOD0(getDialogWorkspaces, std::vector< Mantid::API::MatrixWorkspace_const_sptr >())
MOCK_CONST_METHOD1(parameterValue, double(std::string const &parameter))
MOCK_CONST_METHOD1(setFunction, void(Mantid::API::IFunction_sptr const &function))
IndexType< 0 > FitDomainIndex
Definition: IndexTypes.h:59
IndexType< 1 > WorkspaceIndex
Definition: IndexTypes.h:61
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
Definition: IFunction.h:732
A struct to impliment strongly typed integers, without implicit conversion.
Definition: IndexTypes.h:24