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

#137 Making NSURLSession extensible #169

Merged
merged 2 commits into from
Nov 6, 2017

Conversation

shahmharsh
Copy link
Contributor

@shahmharsh shahmharsh commented Oct 31, 2017

Implements #137

@codecov-io
Copy link

codecov-io commented Oct 31, 2017

Codecov Report

Merging #169 into master will increase coverage by 0.09%.
The diff coverage is 89.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   80.09%   80.19%   +0.09%     
==========================================
  Files          41       43       +2     
  Lines        3447     3463      +16     
  Branches      146      147       +1     
==========================================
+ Hits         2761     2777      +16     
  Misses        686      686
Impacted Files Coverage Δ
Source/OIDURLSessionProvider.m 100% <100%> (ø)
UnitTests/OIDURLSessionProviderTests.m 100% <100%> (ø)
Source/OIDAuthorizationService.m 17.26% <33.33%> (ø) ⬆️

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 96ea3e3...6b1be4a. Read the comment docs.

@shahmharsh
Copy link
Contributor Author

@WilliamDenniss

@iainmcgin
Copy link
Member

@shahmharsh I see the signed individual contributor CLA for you, thanks for doing that. @protocol86 will be reviewing this change for you.

NSURLSession *customSession = [NSURLSession sessionWithConfiguration:config];
[OIDURLSessionProvider setSession:customSession];
NSURLSession *session = [OIDURLSessionProvider session];
XCTAssertEqual(session, customSession);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use XCTAssertEqualObjects here.


NS_ASSUME_NONNULL_BEGIN

static NSURLSession * __nullable gURLSession;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove space after "*"

@protocol86 protocol86 self-requested a review November 1, 2017 19:02
@shahmharsh
Copy link
Contributor Author

@protocol86 comments addressed

@shahmharsh
Copy link
Contributor Author

shahmharsh commented Nov 4, 2017

When can I expect this to be merged and released?

@shahmharsh
Copy link
Contributor Author

@WilliamDenniss?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants