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 some tests for ping_array. #1128

Merged
merged 1 commit into from
Aug 26, 2018
Merged

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Aug 26, 2018

No timeout test here yet, because we don't yet have the ability to
manipulate time at will, so we would have to actually sleep.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 26, 2018
@iphydf iphydf force-pushed the ping-array-test branch 9 times, most recently from 9f85f12 to b8a2a82 Compare August 26, 2018 16:29
@codecov
Copy link

codecov bot commented Aug 26, 2018

Codecov Report

Merging #1128 into master will increase coverage by <.1%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1128     +/-   ##
========================================
+ Coverage    82.4%   82.5%   +<.1%     
========================================
  Files          80      81      +1     
  Lines       14345   14415     +70     
========================================
+ Hits        11823   11894     +71     
+ Misses       2522    2521      -1
Impacted Files Coverage Δ
toxcore/crypto_core_test.cc 90.3% <ø> (ø) ⬆️
toxcore/ping_array_test.cc 100% <100%> (ø)
toxcore/ping_array.c 91.9% <100%> (-0.2%) ⬇️
auto_tests/toxav_many_test.c 92.5% <0%> (-4.1%) ⬇️
auto_tests/toxav_basic_test.c 81.6% <0%> (-2%) ⬇️
toxcore/onion_client.c 94.2% <0%> (-0.8%) ⬇️
toxcore/Messenger.c 85.9% <0%> (ø) ⬆️
toxcore/net_crypto.c 93.6% <0%> (+0.4%) ⬆️
toxav/toxav.c 68.6% <0%> (+0.4%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64ddb7f...a1035cf. Read the comment docs.

Copy link
Member

@robinlinden robinlinden left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

Reviewed 9 of 9 files at r1.
Reviewable status: 0 of 1 approvals obtained

@iphydf iphydf force-pushed the ping-array-test branch 2 times, most recently from d4a4fb3 to 6d00e53 Compare August 26, 2018 17:31
No timeout test here yet, because we don't yet have the ability to
manipulate time at will, so we would have to actually sleep.
Copy link

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

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

Reviewed 8 of 9 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

Copy link

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

Reviewable status: :shipit: complete! 2 of 1 approvals obtained

@iphydf iphydf merged commit a1035cf into TokTok:master Aug 26, 2018
@iphydf iphydf deleted the ping-array-test branch August 26, 2018 17:46
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.7 Aug 30, 2018
This pull request was closed.
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