Skip to content
Snippets Groups Projects
Commit 257013b6 authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

fix include and mock file name, re #13140

parent 082d1c75
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "MantidQtAPI/AlgorithmInputHistory.h" #include "MantidQtAPI/AlgorithmInputHistory.h"
#include "MantidQtAPI/AlgorithmRunner.h" #include "MantidQtAPI/AlgorithmRunner.h"
#include "MantidQtAPI/HelpWindow.h" #include "MantidQtAPI/HelpWindow.h"
#include "MantidQtCustomInterfaces/Tomography/ImageCoRViewQtWidget.h" #include "MantidQtCustomInterfaces/Tomography/ImageROIViewQtWidget.h"
#include "MantidQtCustomInterfaces/Tomography/TomographyIfaceViewQtGUI.h" #include "MantidQtCustomInterfaces/Tomography/TomographyIfaceViewQtGUI.h"
#include "MantidQtCustomInterfaces/Tomography/TomographyIfacePresenter.h" #include "MantidQtCustomInterfaces/Tomography/TomographyIfacePresenter.h"
#include "MantidQtCustomInterfaces/Tomography/ToolConfigAstraToolbox.h" #include "MantidQtCustomInterfaces/Tomography/ToolConfigAstraToolbox.h"
...@@ -73,8 +73,8 @@ void TomographyIfaceViewQtGUI::initLayout() { ...@@ -73,8 +73,8 @@ void TomographyIfaceViewQtGUI::initLayout() {
m_uiTabSetup.setupUi(tabSetupW); m_uiTabSetup.setupUi(tabSetupW);
m_ui.tabMain->addTab(tabSetupW, QString("Setup")); m_ui.tabMain->addTab(tabSetupW, QString("Setup"));
ImageCoRViewQtWidget *tabCoRW = new ImageCoRViewQtWidget(m_ui.tabMain); ImageROIViewQtWidget *tabROIW = new ImageROIViewQtWidget(m_ui.tabMain);
m_ui.tabMain->addTab(tabCoRW, QString("ROI etc.")); m_ui.tabMain->addTab(tabROIW, QString("ROI etc."));
QWidget *tabFiltersW = new QWidget(); QWidget *tabFiltersW = new QWidget();
m_ui.tabMain->addTab(tabFiltersW, QString("Filters")); m_ui.tabMain->addTab(tabFiltersW, QString("Filters"));
......
#ifndef MANTID_CUSTOMINTERFACES_IMAGECORVIEWMOCK_H #ifndef MANTID_CUSTOMINTERFACES_IMAGEROIVIEWMOCK_H
#define MANTID_CUSTOMINTERFACES_IMAGECORVIEWMOCK_H #define MANTID_CUSTOMINTERFACES_IMAGEROIVIEWMOCK_H
#include "MantidQtCustomInterfaces/Tomography/ITomographyIfaceView.h" #include "MantidQtCustomInterfaces/Tomography/ITomographyIfaceView.h"
#include <gmock/gmock.h> #include <gmock/gmock.h>
class MockImageCoRView : public MantidQt::CustomInterfaces::IImageCoRView { class MockImageROIView : public MantidQt::CustomInterfaces::IImageROIView {
public: public:
// void initParams(ImageStackPreParams &params) // void initParams(ImageStackPreParams &params)
MOCK_METHOD1(setParams, MOCK_METHOD1(setParams,
...@@ -19,7 +19,7 @@ public: ...@@ -19,7 +19,7 @@ public:
MOCK_CONST_METHOD0(selectionState, SelectionState()); MOCK_CONST_METHOD0(selectionState, SelectionState());
// void changeSelectionState(const SelectionState state); // void changeSelectionState(const SelectionState state);
MOCK_METHOD1(changeSelectionState, void(const IImageCoRView::SelectionState&)); MOCK_METHOD1(changeSelectionState, void(const IImageROIView::SelectionState&));
// void showStack(const std::string &path); // void showStack(const std::string &path);
MOCK_METHOD1(showStack, void(const std::string &)); MOCK_METHOD1(showStack, void(const std::string &));
...@@ -63,4 +63,4 @@ public: ...@@ -63,4 +63,4 @@ public:
MOCK_METHOD0(resetNormArea, void()); MOCK_METHOD0(resetNormArea, void());
}; };
#endif // MANTID_CUSTOMINTERFACES_IMAGECORVIEWMOCK_H #endif // MANTID_CUSTOMINTERFACES_IMAGEROIVIEWMOCK_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment