Skip to content

Commit

Permalink
Add fitImageToView to missing Mock* files
Browse files Browse the repository at this point in the history
  • Loading branch information
precla committed Feb 7, 2022
1 parent 5baa15d commit b0a25c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/mocks/MockZoomValueProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ void MockZoomValueProvider::setZoomValue(double value)
mZoomValue = value;
emit zoomValueChanged(value);
}

void MockZoomValueProvider::fitImageToView()
{
}
1 change: 1 addition & 0 deletions tests/mocks/MockZoomValueProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class MockZoomValueProvider : public ZoomValueProvider
explicit MockZoomValueProvider(QObject *parent = nullptr);
double zoomValue() const override;
void setZoomValue(double value) override;
void fitImageToView() override;

private:
double mZoomValue;
Expand Down

0 comments on commit b0a25c6

Please sign in to comment.