Class BaSyxCodecTest
java.lang.Object
test.de.iip_ecosphere.platform.support.aas.basyx2.BaSyxCodecTest
Tests the available protocol codecs.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classA payload consumer for testing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertEncodeDecode(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder.PayloadCodec codec, String info, String data) Asserts encoding/decoding data.voidTests the codecs.
-
Constructor Details
-
BaSyxCodecTest
public BaSyxCodecTest()
-
-
Method Details
-
testCodecs
public void testCodecs()Tests the codecs. -
assertEncodeDecode
private void assertEncodeDecode(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder.PayloadCodec codec, String info, String data) Asserts encoding/decoding data.- Parameters:
codec- the codec instanceinfo- the optional information (may be null or empty)data- the data for the payload
-