Documentation ¶
Overview ¶
Package test contains test helper functions for running generic tests for types implementing perunio serializer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericBrokenPipeTest ¶
func GenericBrokenPipeTest(t *testing.T, serializers ...perunio.Serializer)
GenericBrokenPipeTest tests that encoding and decoding on broken streams fails.
func GenericSerializerTest ¶
func GenericSerializerTest(t *testing.T, serializers ...perunio.Serializer)
GenericSerializerTest runs multiple tests to check whether encoding and decoding of serializer values works.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.