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

Parse messages and events based on byte arrays instead of strings #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 30, 2021

  1. The BasicMessage class now takes a byte array as a parameter instead …

    …of a UTF-8 string. This byte array is then used for further parsing in the derived EventMessage class to save converting back again to a byte array from a UTF-8 string. Tests have been extended to include a DetectedSpeech event. There are two variants of this event which are used in the tests, one containing a response with English text in the body and another containing German text and umlaut characters. Add Logger initializer to MessageParsingTests class to allow its test cases to be run independently. Add new test case to MessageParsingTests to test for the successful extraction of body payload from the EventMessage.
    ajgolledge committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    74cd2ff View commit details
    Browse the repository at this point in the history