7 Commits (324a78803186c2c19916cb69969ff990cb09cfdc)

Author SHA1 Message Date
trivernis 324a788031
Change how replies are emitted
All events that are emitted inside a handler function are seen
as replies to the event that called the handler.
The FromPayloadBytes and ToPayloadBytes traits have been renamed
to FromPayload and IntoPayload. The IntoPayload trait passes the
context in its arguments to allow serializable structures to be
serialized by the default serializer.

Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 38fb1ee16a
Add tests for payloads
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 5b54140011
Add tests for namespace and restructure tests
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 8146fe8446
Add more tests and descriptions for tests
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis cda472d3a9
Add event call assertions in tests
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis f70563d099
Improve test protocol by using some unsafe magic
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 9e7cd26f6a
Add integration tests with custom protocol
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago