Skip to content

Commit

Permalink
fix test build
Browse files Browse the repository at this point in the history
  • Loading branch information
msftrubengu committed Oct 3, 2023
1 parent 66adaee commit cb77351
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AppInstallerCLITests/TestCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ namespace TestCommon
return {};
}

bool TestProgress::Wait(std::chrono::milliseconds)
{
return false;
}

wil::unique_hkey RegCreateVolatileTestRoot()
{
// First create/open the real test root
Expand Down
2 changes: 2 additions & 0 deletions src/AppInstallerCLITests/TestCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ namespace TestCommon

CancelFunctionRemoval SetCancellationFunction(std::function<void()>&& f) override;

bool Wait(std::chrono::milliseconds millisecondsToWait) override;

std::function<void(uint64_t, uint64_t, AppInstaller::ProgressType)> m_OnProgress;
};

Expand Down

0 comments on commit cb77351

Please sign in to comment.