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 test case #124

Merged
merged 2 commits into from
Jan 27, 2024
Merged

add test case #124

merged 2 commits into from
Jan 27, 2024

Conversation

zhengjian526
Copy link
Collaborator

@zhengjian526 zhengjian526 commented Jan 27, 2024

#119

  • add test case for subscribe
  • add reconnect case
  • add test case for server

* add test case for subscribe

* add reconnect case

* add reconnect case

* add test case for server
Copy link

Code Coverage Report
for detail, goto summary download Artifacts

Filename                    Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     4                 2    50.00%          25                14    44.00%           4                 3    25.00%
codec.h                             3                 0   100.00%          19                 2    89.47%           0                 0         -
connection.h                       34                 8    76.47%         344               119    65.41%          64                37    42.19%
io_service_pool.h                   5                 0   100.00%          32                 1    96.88%          12                 1    91.67%
md5.hpp                            19                 2    89.47%         127                 8    93.70%          24                 0   100.00%
nonstd_any.hpp                     13                10    23.08%          28                22    21.43%           0                 0         -
router.h                           15                 2    86.67%         119                36    69.75%          10                 6    40.00%
rpc_client.hpp                     68                16    76.47%         623               181    70.95%         124                64    48.39%
rpc_server.h                       21                 7    66.67%         159                49    69.18%          32                17    46.88%
string_view.hpp                    23                13    43.48%          72                51    29.17%          22                18    18.18%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             205                60    70.73%        1548               483    68.80%         292               146    50.00%

Copy link

Code Coverage Report
for detail, goto summary download Artifacts

Filename                    Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     4                 2    50.00%          25                14    44.00%           4                 3    25.00%
codec.h                             3                 0   100.00%          19                 2    89.47%           0                 0         -
connection.h                       34                 8    76.47%         344               119    65.41%          64                37    42.19%
io_service_pool.h                   5                 0   100.00%          32                 1    96.88%          12                 1    91.67%
md5.hpp                            19                 2    89.47%         127                 8    93.70%          24                 0   100.00%
nonstd_any.hpp                     13                10    23.08%          28                22    21.43%           0                 0         -
router.h                           15                 2    86.67%         119                36    69.75%          10                 6    40.00%
rpc_client.hpp                     68                16    76.47%         623               181    70.95%         124                64    48.39%
rpc_server.h                       21                 7    66.67%         159                49    69.18%          32                17    46.88%
string_view.hpp                    23                13    43.48%          72                51    29.17%          22                18    18.18%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             205                60    70.73%        1548               483    68.80%         292               146    50.00%

@codecov-commenter
Copy link

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (3324f33) 48.55% compared to head (e80f74a) 52.03%.

Files Patch % Lines
tests/test_rest_rpc.cpp 89.16% 13 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   48.55%   52.03%   +3.48%     
==========================================
  Files         166      166              
  Lines        7740     7821      +81     
==========================================
+ Hits         3758     4070     +312     
+ Misses       3982     3751     -231     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@qicosmos qicosmos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qicosmos qicosmos merged commit 0445168 into qicosmos:master Jan 27, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants