Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error callback per vhost connection #56

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update rmqtestmocks_mockrabbitcontext.h
Signed-off-by: Nishant <hadanis.singh@gmail.com>
ThisIsNSH authored Jan 16, 2025
commit e20c21584db9ec4f0c7cbc4faffebb50123baac6
7 changes: 7 additions & 0 deletions src/rmqtestmocks/rmqtestmocks_mockrabbitcontext.h
Original file line number Diff line number Diff line change
@@ -54,6 +54,13 @@ class MockRabbitContext : public rmqp::RabbitContext {
const bsl::shared_ptr<rmqt::Endpoint>& endpoint,
const bsl::shared_ptr<rmqt::Credentials>& credentials));

MOCK_METHOD4(createVHostConnection,
bsl::shared_ptr<rmqp::Connection>(
const bsl::string& userDefinedName,
const bsl::shared_ptr<rmqt::Endpoint>& endpoint,
const bsl::shared_ptr<rmqt::Credentials>& credentials,
const rmqt::ErrorCallback& errorCallback));

MOCK_METHOD2(
createVHostConnection,
bsl::shared_ptr<rmqp::Connection>(const bsl::string& userDefinedName,