redboltz / async_mqtt

Asynchronous MQTT communication library based on Boost.Asio
Boost Software License 1.0
91 stars 10 forks source link

Unified cancel related error code respect to asio. #293

Closed redboltz closed 3 months ago

redboltz commented 3 months ago

Added tests.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 96.17%. Comparing base (568daa4) to head (5ef9852).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293/graphs/tree.svg?width=650&height=150&src=pr&token=21ZT59CMM5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) ```diff @@ Coverage Diff @@ ## main #293 +/- ## ========================================== + Coverage 95.82% 96.17% +0.34% ========================================== Files 151 151 Lines 8991 8992 +1 ========================================== + Hits 8616 8648 +32 + Misses 375 344 -31 ``` | [Files](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) | Coverage Δ | | |---|---|---| | [include/async\_mqtt/impl/client\_recv.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_recv.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X3JlY3YuaHBw) | `98.00% <100.00%> (+24.00%)` | :arrow_up: | | [...l/endpoint\_acquire\_unique\_packet\_id\_wait\_until.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fendpoint_acquire_unique_packet_id_wait_until.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvZW5kcG9pbnRfYWNxdWlyZV91bmlxdWVfcGFja2V0X2lkX3dhaXRfdW50aWwuaHBw) | `98.11% <100.00%> (+0.03%)` | :arrow_up: | | [include/async\_mqtt/impl/endpoint\_recv.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fendpoint_recv.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvZW5kcG9pbnRfcmVjdi5ocHA=) | `98.53% <100.00%> (ø)` | | | [include/async\_mqtt/impl/client\_publish.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_publish.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X3B1Ymxpc2guaHBw) | `90.42% <0.00%> (+2.12%)` | :arrow_up: | | [include/async\_mqtt/impl/client\_start.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_start.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X3N0YXJ0LmhwcA==) | `85.54% <0.00%> (ø)` | | | [include/async\_mqtt/impl/client\_subscribe.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_subscribe.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X3N1YnNjcmliZS5ocHA=) | `86.73% <0.00%> (ø)` | | | [include/async\_mqtt/impl/client\_unsubscribe.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_unsubscribe.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X3Vuc3Vic2NyaWJlLmhwcA==) | `86.86% <0.00%> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/redboltz/async_mqtt/pull/293/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)