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

mockResponse - tests to verify write() and end() with payloads #1

Merged
merged 1 commit into from
Mar 5, 2018
Merged

mockResponse - tests to verify write() and end() with payloads #1

merged 1 commit into from
Mar 5, 2018

Conversation

LoneRifle
Copy link

  • Declare a new getter _getChunks, for testing purposes
  • Add javadoc for _getBuffer
  • Add a suite of tests that ensure that calls to write and end with payloads
    result in the correct state of _data, _chunks and _buffer. Ensure that methods
    are tested in isolation, using a separate suite for interactions between write and end

eugef#161 also filed in the event that this PR is not merged into the proposed branch (which for the benefit of other readers is the branch for eugef#154)

* Declare a new getter `_getChunks`, for testing purposes
* Add javadoc for  `_getBuffer`
* Add a suite of tests that ensure that calls to `write` and `end` with payloads
result in the correct state of `_data`, `_chunks` and `_buffer`. Ensure that methods
are tested in isolation, using a separate suite for interactions between `write` and `end`
@cpd0101 cpd0101 merged commit 1573cbe into cpd0101:add-some-feature Mar 5, 2018
@LoneRifle LoneRifle deleted the buffer-and-tests branch March 5, 2018 04:12
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