Mantid
Loading...
Searching...
No Matches
MockSlitCalculator.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 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
9#include "ISlitCalculator.h"
10#include <gmock/gmock.h>
11#include <string>
12
14public:
16 MOCK_METHOD1(setCurrentInstrumentName, void(const std::string &));
20};
#define GNU_DIAG_ON_SUGGEST_OVERRIDE
#define GNU_DIAG_OFF_SUGGEST_OVERRIDE
virtual void setCurrentInstrumentName(const std::string &instrumentName)=0
MOCK_METHOD0(processInstrumentHasBeenChanged, void())
GNU_DIAG_OFF_SUGGEST_OVERRIDE MOCK_METHOD1(setCurrentInstrumentName, void(const std::string &))
MOCK_METHOD0(show, void())