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
F3302018: D4512.id14425.diff
Mon, Nov 18, 5:51 AM
F3302003: D4512.id14889.diff
Mon, Nov 18, 5:44 AM
F3301716: D4512.diff
Mon, Nov 18, 3:35 AM
Unknown Object (File)
Sat, Nov 9, 11:35 AM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Tue, Nov 5, 2:05 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.