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

Undo refactoring of http steps, and add capability of performing call… #94

Merged
merged 2 commits into from
Nov 2, 2016

Conversation

israelcolomer
Copy link
Collaborator

…s with streaming responses.

Copy link
Owner

@rchodava rchodava left a comment

Choose a reason for hiding this comment

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

After coveralls 😄

@@ -108,6 +142,19 @@ public void assertResponseAndHeaders(int statusCode, Map<String, String> headers
compareHeaders(headers, storedResponse.headers());
}

void compareHeaders(Map<String, String> expectedHeaders, Multimap<String, String> actualHeaders) {
Copy link
Owner

Choose a reason for hiding this comment

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

Can this be private?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Being used in a test, reason why it's only package protected

return (Map<String, String>) propertyStore.get(HEADER_KEY);
}

public Observable<JsonObject> makeStreamingCall(Method method, String uri, Map<String, String> headers) {
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe include Json in this name? makeStreamingJsonCall

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling aaa0d16 on ic/http-steps-streaming-call into * on master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 69c697a on ic/http-steps-streaming-call into * on master*.

@israelcolomer israelcolomer merged commit af73ee0 into master Nov 2, 2016
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.

None yet

3 participants