Skip to content

Commit

Permalink
#11565: Fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krasko78 committed Nov 1, 2024
1 parent 8072952 commit 8f244fd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/framework/stubs/shortcuts/shortcutsconfigurationstub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ bool ShortcutsConfigurationStub::advanceToNextNoteOnKeyRelease() const
void ShortcutsConfigurationStub::setAdvanceToNextNoteOnKeyRelease(bool)
{
}

async::Channel<bool> ShortcutsConfigurationStub::advanceToNextNoteOnKeyReleaseChanged() const
{
static async::Channel<bool> n;
return n;
}
1 change: 1 addition & 0 deletions src/framework/stubs/shortcuts/shortcutsconfigurationstub.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ShortcutsConfigurationStub : public IShortcutsConfiguration

bool advanceToNextNoteOnKeyRelease() const override;
void setAdvanceToNextNoteOnKeyRelease(bool value) override;
muse::async::Channel<bool> advanceToNextNoteOnKeyReleaseChanged() const override;
};
}

Expand Down
6 changes: 6 additions & 0 deletions src/framework/stubs/update/updateconfigurationstub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ void UpdateConfigurationStub::setNeedCheckForUpdate(bool)
{
}

muse::async::Notification UpdateConfigurationStub::needCheckForUpdateChanged() const
{
static muse::async::Notification n;
return n;
}

std::string UpdateConfigurationStub::skippedReleaseVersion() const
{
return "";
Expand Down
1 change: 1 addition & 0 deletions src/framework/stubs/update/updateconfigurationstub.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class UpdateConfigurationStub : public IUpdateConfiguration

bool needCheckForUpdate() const override;
void setNeedCheckForUpdate(bool needCheck) override;
muse::async::Notification needCheckForUpdateChanged() const override;

std::string skippedReleaseVersion() const override;
void setSkippedReleaseVersion(const std::string& version) override;
Expand Down

0 comments on commit 8f244fd

Please sign in to comment.