|
| | MOCK_CONST_METHOD0 (generateErrorMessage, std::string()) |
| |
| | MOCK_CONST_METHOD0 (isAllInputValid, bool()) |
| |
| | MOCK_METHOD2 (addErrorMessage, void(const std::string &message, bool const silent)) |
| |
| | MOCK_METHOD2 (checkFileFinderWidgetIsValid, bool(const QString &name, const FileFinderWidget *widget)) |
| |
| | MOCK_METHOD2 (checkRangesDontOverlap, bool(std::pair< double, double > rangeA, std::pair< double, double > rangeB)) |
| |
| | MOCK_METHOD2 (checkValidRange, bool(QString const &name, std::pair< double, double > range)) |
| |
| | MOCK_METHOD2 (checkWorkspaceExists, bool(QString const &workspaceName, bool silent)) |
| |
| | MOCK_METHOD2 (checkWorkspaceSelectorIsNotEmpty, bool(const QString &name, WorkspaceSelector *workspaceSelector)) |
| |
| | MOCK_METHOD2 (setErrorLabel, void(QLabel *errorLabel, bool valid)) |
| |
| | MOCK_METHOD3 (checkFieldIsNotEmpty, bool(const QString &name, QLineEdit *field, QLabel *errorLabel)) |
| |
| | MOCK_METHOD3 (checkFieldIsValid, bool(const QString &errorMessage, QLineEdit *field, QLabel *errorLabel)) |
| |
| | MOCK_METHOD3 (checkWorkspaceGroupIsValid, bool(QString const &groupName, QString const &inputType, bool silent)) |
| |
| | MOCK_METHOD4 (checkBins, bool(double lower, double binWidth, double upper, double tolerance)) |
| |
| | MOCK_METHOD4 (checkDataSelectorIsValid, bool(const QString &name, DataSelector *widget, bool const silent, bool const autoLoad)) |
| |
| | MOCK_METHOD4 (checkRangeIsEnclosed, bool(const QString &outerName, std::pair< double, double > outer, const QString &innerName, std::pair< double, double > inner)) |
| |
| virtual | ~MockUserInputValidator ()=default |
| |
| virtual void | addErrorMessage (const std::string &message, bool const silent=false)=0 |
| |
| virtual bool | checkBins (double lower, double binWidth, double upper, double tolerance=0.00000001)=0 |
| |
| virtual bool | checkDataSelectorIsValid (const QString &name, DataSelector *widget, bool const silent=false, bool const autoLoad=true)=0 |
| |
| virtual bool | checkFieldIsNotEmpty (const QString &name, QLineEdit *field, QLabel *errorLabel=nullptr)=0 |
| |
| virtual bool | checkFieldIsValid (const QString &errorMessage, QLineEdit *field, QLabel *errorLabel=nullptr)=0 |
| |
| virtual bool | checkFileFinderWidgetIsValid (const QString &name, const FileFinderWidget *widget)=0 |
| |
| virtual bool | checkRangeIsEnclosed (const QString &outerName, std::pair< double, double > outer, const QString &innerName, std::pair< double, double > inner)=0 |
| |
| virtual bool | checkRangesDontOverlap (std::pair< double, double > rangeA, std::pair< double, double > rangeB)=0 |
| |
| virtual bool | checkValidRange (const QString &name, std::pair< double, double > range)=0 |
| |
| virtual bool | checkWorkspaceExists (QString const &workspaceName, bool silent=false)=0 |
| |
| virtual bool | checkWorkspaceGroupIsValid (QString const &groupName, QString const &inputType, bool silent=false)=0 |
| |
| virtual bool | checkWorkspaceSelectorIsNotEmpty (const QString &name, WorkspaceSelector *workspaceSelector)=0 |
| |
| template<typename T = Mantid::API::MatrixWorkspace> |
| bool | checkWorkspaceType (QString const &workspaceName, QString const &inputType, QString const &validType, bool silent=false) |
| | Checks if the workspace has the correct type.
|
| |
| virtual std::string | generateErrorMessage () const =0 |
| |
| virtual bool | isAllInputValid () const =0 |
| |
| virtual void | setErrorLabel (QLabel *errorLabel, bool valid)=0 |
| |
| virtual | ~IUserInputValidator ()=default |
| |
Definition at line 18 of file MockUserInputValidator.h.