Mantid
Loading...
Searching...
No Matches
MockProgressableView.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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
11#include <gmock/gmock.h>
12
13using namespace MantidQt::MantidWidgets;
14
16public:
25};
#define GNU_DIAG_ON_SUGGEST_OVERRIDE
#define GNU_DIAG_OFF_SUGGEST_OVERRIDE
ProgressableView : Abstract view useful for indicating progress.
virtual void setProgressRange(int min, int max)
virtual void setProgress(int progress)=0
MOCK_CONST_METHOD0(isPercentageIndicator, bool())
MOCK_METHOD2(setProgressRange, void(int, int))
MOCK_METHOD0(setAsEndlessIndicator, void())
MOCK_METHOD0(clearProgress, void())
GNU_DIAG_OFF_SUGGEST_OVERRIDE MOCK_METHOD1(setProgress, void(int))
MOCK_METHOD0(setAsPercentageIndicator, void())