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 tests for URLConnection wrappers #35

Merged
merged 3 commits into from
Oct 31, 2023
Merged

Conversation

bidetofevil
Copy link
Collaborator

@bidetofevil bidetofevil commented Oct 31, 2023

Goal

Add tests to verify that our network wrappers actually call the appropriate methods that they are wrapping. Along the way, added some more comments and did some renaming.

Copy link
Collaborator Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@bidetofevil bidetofevil force-pushed the hho/urlconnection-tests branch from 0faef4b to 86d199e Compare October 31, 2023 06:04
@bidetofevil bidetofevil force-pushed the hho/urlconnection-tests branch from 86d199e to 472e9e5 Compare October 31, 2023 06:19
@bidetofevil bidetofevil marked this pull request as ready for review October 31, 2023 06:25
@bidetofevil bidetofevil requested a review from a team as a code owner October 31, 2023 06:25
@codecov
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #35 (472e9e5) into master (7667ac6) will increase coverage by 1.13%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   72.67%   73.80%   +1.13%     
==========================================
  Files         305      305              
  Lines        9990     9992       +2     
  Branches     1438     1438              
==========================================
+ Hits         7260     7375     +115     
+ Misses       2162     2049     -113     
  Partials      568      568              
Files Coverage Δ
...nal/network/http/EmbraceHttpUrlConnectionImpl.java 100.00% <100.00%> (+94.54%) ⬆️
...al/network/http/EmbraceHttpsUrlConnectionImpl.java 100.00% <100.00%> (+95.31%) ⬆️
...nal/network/http/EmbraceUrlConnectionDelegate.java 50.00% <ø> (ø)

Copy link
Contributor

@fractalwrench fractalwrench left a comment

Choose a reason for hiding this comment

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

LGTM

@bidetofevil bidetofevil merged commit ad56d48 into master Oct 31, 2023
4 checks passed
@bidetofevil bidetofevil deleted the hho/urlconnection-tests branch October 31, 2023 15:06
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.

2 participants