Class TypeTranslatorsTest
java.lang.Object
test.de.iip_ecosphere.platform.transport.TypeTranslatorsTest
Tests the default type translators in
TypeTranslators. We focus in particular on types that could be useful
for the code generation, e.g., service parameter values.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTestsTypeTranslators.BOOLEAN.voidTestsTypeTranslators.BYTEARRAY_TO_BASE64andTypeTranslators.BASE64_TO_BYTEARRAY.voidTestsTypeTranslators.createSerializer(ClassLoader, String).voidTestsTypeTranslators.createTypeTranslator(ClassLoader, String).voidTestsTypeTranslators.LONG.voidTestsTypeTranslators.INTEGER.voidTestsTypeTranslators.JSON_STRING.voidtestLong()TestsTypeTranslators.LONG.voidTestsTypeTranslators.STRING.
-
Constructor Details
-
TypeTranslatorsTest
public TypeTranslatorsTest()
-
-
Method Details
-
testString
TestsTypeTranslators.STRING.- Throws:
IOException- shall not occur
-
testInteger
TestsTypeTranslators.INTEGER.- Throws:
IOException- shall not occur
-
testJsonString
TestsTypeTranslators.JSON_STRING.- Throws:
IOException- shall not occur
-
testLong
TestsTypeTranslators.LONG.- Throws:
IOException- shall not occur
-
testBoolean
TestsTypeTranslators.BOOLEAN.- Throws:
IOException- shall not occur
-
testDouble
TestsTypeTranslators.LONG.- Throws:
IOException- shall not occur
-
testByteArrayBase64
TestsTypeTranslators.BYTEARRAY_TO_BASE64andTypeTranslators.BASE64_TO_BYTEARRAY.- Throws:
IOException- shall not occur
-
testCreateTypeTranslator
public void testCreateTypeTranslator()TestsTypeTranslators.createTypeTranslator(ClassLoader, String). -
testCreateSerializer
public void testCreateSerializer()TestsTypeTranslators.createSerializer(ClassLoader, String).
-