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
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
Unknown Object (File)
Oct 18 2024, 6:41 PM
Unknown Object (File)
Oct 11 2024, 1:38 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
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

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

Yes, we can use braces here instead.