Page MenuHomePhabricator

[services] Tunnelbroker - Change `AmqpManager.send()` method arguments to use `MessageItem` in tests
ClosedPublic

Authored by max on Jul 13 2022, 2:49 AM.
Tags
None
Referenced Files
F3719062: D4512.id.diff
Wed, Jan 8, 10:58 AM
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:55 PM
Unknown Object (File)
Thu, Dec 19, 1:57 AM
Unknown Object (File)
Mon, Dec 16, 11:56 PM
Unknown Object (File)
Mon, Dec 16, 10:06 AM

Details

Summary

This diff introducing changes in tests for AmqpManager.send() method to use MessageItem instead of arguments list.
The function changes was introduced in D4511.

Linear task: ENG-1214

Test Plan

Run tests using yarn run-unit-tests.

Diff Detail

Repository
rCOMM Comm
Branch
use-messageItem-in-amqp-test
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
tomek added inline comments.
services/tunnelbroker/test/AmqpManagerTest.cpp
38–39 ↗(On Diff #14425)
This revision is now accepted and ready to land.Jul 18 2022, 7:14 AM

Rebase on the stack changes. Switching to use braces.

max added inline comments.
services/tunnelbroker/test/AmqpManagerTest.cpp
38–39 ↗(On Diff #14425)

Shouldn't we use brace initialization? https://www.notion.so/commapp/C-coding-standards-8c9f22b4b16a41c3a868eb5f537db1de

Yes, we can use braces here instead.