Skip to content

added user close message#38

Merged
ianpartridge merged 2 commits intomasterfrom
closeMessage
Apr 17, 2018
Merged

added user close message#38
ianpartridge merged 2 commits intomasterfrom
closeMessage

Conversation

@Andrew-Lees11
Copy link
Copy Markdown
Contributor

As part of passing Autobahn test suite, added feature to take user defined close message and check for valid UTF8 encoding.

Added two tests to check the functionality.

Added testNullCharacter to alltests

Renamed testUserDefinedCloseMessage to testUserDefinedCloseCode to distinguish tests

("testTextMediumMessage", testTextMediumMessage),
("testTextShortMessage", testTextShortMessage),
("testUserDefinedCloseMessage", testUserDefinedCloseMessage)
("testNullCharacter", testNullCharacter),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is failing on Linux.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You could comment this line out for now, so we can merge this PR.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #38 into master will increase coverage by 0.12%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #38      +/-   ##
=========================================
+ Coverage   92.27%   92.4%   +0.12%     
=========================================
  Files           9       9              
  Lines         492     500       +8     
=========================================
+ Hits          454     462       +8     
  Misses         38      38
Flag Coverage Δ
#KituraWebSocket 92.4% <88.88%> (+0.12%) ⬆️
Impacted Files Coverage Δ
Sources/KituraWebSocket/WebSocketConnection.swift 92.38% <88.88%> (+0.32%) ⬆️

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 592bd2a...a152bf9. Read the comment docs.

@ianpartridge ianpartridge merged commit 241f75b into master Apr 17, 2018
@ianpartridge ianpartridge deleted the closeMessage branch April 17, 2018 12: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.

3 participants